pub enum RegistrationStatus {
Inactive = 0,
Active = 1,
OperatorRegistered = 2,
ServiceRegistered = 3,
}Expand description
Registered status of the Operator to Service Can be initiated by the Operator or the Service Becomes Active when the Operator and Service both have registered Becomes Inactive when the Operator or Service have unregistered (default state)
Variants§
Inactive = 0
Default state when neither the Operator nor the Service has registered, or when either the Operator or Service has unregistered
Active = 1
State when both the Operator and Service have registered with each other, indicating a fully established relationship
OperatorRegistered = 2
State when only the Operator has registered but the Service hasn’t yet registered, indicating a pending registration from the Service side This is Operator-initiated registration, waiting for Service to finalize
ServiceRegistered = 3
State when only the Service has registered but the Operator hasn’t yet registered, indicating a pending registration from the Operator side This is Service-initiated registration, waiting for Operator to finalize
Trait Implementations§
Source§impl Clone for RegistrationStatus
impl Clone for RegistrationStatus
Source§fn clone(&self) -> RegistrationStatus
fn clone(&self) -> RegistrationStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RegistrationStatus
impl Debug for RegistrationStatus
Source§impl<'de> Deserialize<'de> for RegistrationStatus
impl<'de> Deserialize<'de> for RegistrationStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl From<RegistrationStatus> for StatusResponse
impl From<RegistrationStatus> for StatusResponse
Source§fn from(value: RegistrationStatus) -> Self
fn from(value: RegistrationStatus) -> Self
Source§impl From<RegistrationStatus> for u8
impl From<RegistrationStatus> for u8
Source§fn from(value: RegistrationStatus) -> u8
fn from(value: RegistrationStatus) -> u8
Source§impl JsonSchema for RegistrationStatus
impl JsonSchema for RegistrationStatus
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moreSource§impl PartialEq for RegistrationStatus
impl PartialEq for RegistrationStatus
Source§impl Serialize for RegistrationStatus
impl Serialize for RegistrationStatus
Source§impl TryFrom<u8> for RegistrationStatus
impl TryFrom<u8> for RegistrationStatus
impl StructuralPartialEq for RegistrationStatus
Auto Trait Implementations§
impl Freeze for RegistrationStatus
impl RefUnwindSafe for RegistrationStatus
impl Send for RegistrationStatus
impl Sync for RegistrationStatus
impl Unpin for RegistrationStatus
impl UnwindSafe for RegistrationStatus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more