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