pub struct SnapshotReadAuthorityPreflightTarget {
pub canister_id: String,
pub role: Option<String>,
pub parent_canister_id: Option<String>,
pub declared_authority: SnapshotReadAuthority,
}Expand description
SnapshotReadAuthorityPreflightTarget
Fields§
§canister_id: String§role: Option<String>§parent_canister_id: Option<String>Trait Implementations§
Source§impl Clone for SnapshotReadAuthorityPreflightTarget
impl Clone for SnapshotReadAuthorityPreflightTarget
Source§fn clone(&self) -> SnapshotReadAuthorityPreflightTarget
fn clone(&self) -> SnapshotReadAuthorityPreflightTarget
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<'de> Deserialize<'de> for SnapshotReadAuthorityPreflightTarget
impl<'de> Deserialize<'de> for SnapshotReadAuthorityPreflightTarget
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 From<&BackupTarget> for SnapshotReadAuthorityPreflightTarget
impl From<&BackupTarget> for SnapshotReadAuthorityPreflightTarget
Source§fn from(target: &BackupTarget) -> Self
fn from(target: &BackupTarget) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SnapshotReadAuthorityPreflightTarget
impl PartialEq for SnapshotReadAuthorityPreflightTarget
Source§fn eq(&self, other: &SnapshotReadAuthorityPreflightTarget) -> bool
fn eq(&self, other: &SnapshotReadAuthorityPreflightTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SnapshotReadAuthorityPreflightTarget
impl StructuralPartialEq for SnapshotReadAuthorityPreflightTarget
Auto Trait Implementations§
impl Freeze for SnapshotReadAuthorityPreflightTarget
impl RefUnwindSafe for SnapshotReadAuthorityPreflightTarget
impl Send for SnapshotReadAuthorityPreflightTarget
impl Sync for SnapshotReadAuthorityPreflightTarget
impl Unpin for SnapshotReadAuthorityPreflightTarget
impl UnsafeUnpin for SnapshotReadAuthorityPreflightTarget
impl UnwindSafe for SnapshotReadAuthorityPreflightTarget
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