pub enum ServiceState {
Tsp {
enabled: bool,
mediator_did: Option<String>,
},
Rest {
enabled: bool,
url: Option<String>,
},
Didcomm {
enabled: bool,
mediator_did: Option<String>,
routing_keys: Vec<String>,
},
Webauthn {
enabled: bool,
url: Option<String>,
},
}Expand description
State of a single transport kind. The kind discriminator is
"tsp", "rest", "didcomm", or "webauthn" on the wire (kebab-case
to align with the rest of the runtime service-management surface).
When enabled is false, the kind-specific config fields are
absent.
Variants§
Trait Implementations§
Source§impl Clone for ServiceState
impl Clone for ServiceState
Source§fn clone(&self) -> ServiceState
fn clone(&self) -> ServiceState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ServiceState
impl Debug for ServiceState
Source§impl<'de> Deserialize<'de> for ServiceState
impl<'de> Deserialize<'de> for ServiceState
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ServiceState
Source§impl PartialEq for ServiceState
impl PartialEq for ServiceState
Source§impl Serialize for ServiceState
impl Serialize for ServiceState
impl StructuralPartialEq for ServiceState
Auto Trait Implementations§
impl Freeze for ServiceState
impl RefUnwindSafe for ServiceState
impl Send for ServiceState
impl Sync for ServiceState
impl Unpin for ServiceState
impl UnsafeUnpin for ServiceState
impl UnwindSafe for ServiceState
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
Mutably borrows from an owned value. Read more