DatetimeMetric
open class DatetimeMetric:
DatetimeMetricProtocol
Undocumented
-
Used to instantiate a [FFIObject] without an actual pointer, for fakes in tests, mostly.
See moreDeclaration
Swift
public struct NoPointer
-
Undocumented
Declaration
Swift
required public init(unsafeFromRawPointer pointer: UnsafeMutableRawPointer)
-
This constructor can be used to instantiate a fake object.
Warning
Any object instantiated with this constructor cannot be passed to an actual Rust-backed object. Since there isn’t a backing [Pointer] the FFI lower functions will crash.
Declaration
Swift
public init(noPointer: NoPointer)
Parameters
noPointer
Placeholder value so we can have a constructor separate from the default empty one that may be implemented for classes extending [FFIObject].
-
Undocumented
Declaration
Swift
public func uniffiClonePointer() -> UnsafeMutableRawPointer
-
Undocumented
Declaration
Swift
public convenience init(_ meta: CommonMetricData, _ timeUnit: TimeUnit)
-
Undocumented
Declaration
Swift
open func set(_ value: Datetime? = nil)
-
Undocumented
Declaration
Swift
open func testGetNumRecordedErrors(_ error: ErrorType) -> Int32
-
Undocumented
Declaration
Swift
open func testGetValue(_ pingName: String? = nil) -> Datetime?
-
Undocumented
Declaration
Swift
open func testGetValueAsString(_ pingName: String? = nil) -> String?