pub struct HubState {
pub scope_id: String,
pub configured: bool,
pub hub: Option<HubView>,
pub operation: Option<HubOperation>,
pub revocation: Option<HubRevocation>,
}Fields§
§scope_id: String§configured: bool§hub: Option<HubView>§operation: Option<HubOperation>§revocation: Option<HubRevocation>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HubState
impl<'de> Deserialize<'de> for HubState
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 HubState
impl StructuralPartialEq for HubState
Auto Trait Implementations§
impl Freeze for HubState
impl RefUnwindSafe for HubState
impl Send for HubState
impl Sync for HubState
impl Unpin for HubState
impl UnsafeUnpin for HubState
impl UnwindSafe for HubState
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