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