pub struct SnapshotReadAuthority {
pub source: SnapshotReadAuthoritySource,
pub evidence: AuthorityEvidence,
}Expand description
SnapshotReadAuthority
Fields§
§source: SnapshotReadAuthoritySource§evidence: AuthorityEvidenceImplementations§
Source§impl SnapshotReadAuthority
impl SnapshotReadAuthority
pub const fn unknown() -> Self
pub const fn operator_controller(evidence: AuthorityEvidence) -> Self
pub const fn snapshot_visibility(evidence: AuthorityEvidence) -> Self
pub const fn root_configured_read(evidence: AuthorityEvidence) -> Self
pub const fn root_mediated_transfer(evidence: AuthorityEvidence) -> Self
pub fn is_proven(&self) -> bool
Trait Implementations§
Source§impl Clone for SnapshotReadAuthority
impl Clone for SnapshotReadAuthority
Source§fn clone(&self) -> SnapshotReadAuthority
fn clone(&self) -> SnapshotReadAuthority
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 SnapshotReadAuthority
impl Debug for SnapshotReadAuthority
Source§impl<'de> Deserialize<'de> for SnapshotReadAuthority
impl<'de> Deserialize<'de> for SnapshotReadAuthority
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
Source§impl PartialEq for SnapshotReadAuthority
impl PartialEq for SnapshotReadAuthority
Source§fn eq(&self, other: &SnapshotReadAuthority) -> bool
fn eq(&self, other: &SnapshotReadAuthority) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SnapshotReadAuthority
impl Serialize for SnapshotReadAuthority
impl Eq for SnapshotReadAuthority
impl StructuralPartialEq for SnapshotReadAuthority
Auto Trait Implementations§
impl Freeze for SnapshotReadAuthority
impl RefUnwindSafe for SnapshotReadAuthority
impl Send for SnapshotReadAuthority
impl Sync for SnapshotReadAuthority
impl Unpin for SnapshotReadAuthority
impl UnsafeUnpin for SnapshotReadAuthority
impl UnwindSafe for SnapshotReadAuthority
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