pub struct ScopeStamp {
pub owner: Principal,
pub scope_ref: String,
pub scope_epoch: u64,
pub kind: ScopeKind,
pub parent: Option<ScopeParent>,
pub parent_state: Option<ParentState>,
pub attributes: ScopeAttributes,
pub owner_authorized: bool,
}Expand description
The fields the daemon stamps for a live scope.
Fields§
§owner: Principal§scope_ref: String§scope_epoch: u64§kind: ScopeKind§parent: Option<ScopeParent>§parent_state: Option<ParentState>§attributes: ScopeAttributesWhether the owner is listed in the daemon’s scope_authority_owners.
Providers decide on this flag and keep no copy of the list.
Trait Implementations§
Source§impl Clone for ScopeStamp
impl Clone for ScopeStamp
Source§impl Debug for ScopeStamp
impl Debug for ScopeStamp
Source§impl<'de> Deserialize<'de> for ScopeStamp
impl<'de> Deserialize<'de> for ScopeStamp
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 ScopeStamp
Source§impl PartialEq for ScopeStamp
impl PartialEq for ScopeStamp
Source§impl Serialize for ScopeStamp
impl Serialize for ScopeStamp
impl StructuralPartialEq for ScopeStamp
Auto Trait Implementations§
impl Freeze for ScopeStamp
impl RefUnwindSafe for ScopeStamp
impl Send for ScopeStamp
impl Sync for ScopeStamp
impl Unpin for ScopeStamp
impl UnsafeUnpin for ScopeStamp
impl UnwindSafe for ScopeStamp
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