Union case
Ok
case Ok(value: T)
Containing type: Result<T, E>
Module: System
Assembly: System.Runtime.dll
Inheritance: Object → ValueType → Ok
Represents a successful result value.
Constructors
1 item
Ok(value: T)
Represents a successful result value.
Properties
1 item
Value: T
No summary available.
Methods
5 items
Deconstruct(Value: out T) -> ()
No summary available.
Equals(other: object?) -> bool
Tests reference identity by default; an ordinary class may override equality.
Inherited from Object.Equals
GetHashCode() -> int
Returns a stable identity hash by default; an ordinary class may override it consistently with equality.
Inherited from Object.GetHashCode
GetType() -> TypeInfo
Returns metadata for the concrete runtime type of this instance.
Inherited from Object.GetType
ToString() -> string
No summary available.
Overrides Object.ToString