pub enum SubnetIdentity {
Prime,
Standard(SubnetContextParams),
Manual(Principal),
}Expand description
SubnetIdentity
Variants§
Trait Implementations§
Source§impl CandidType for SubnetIdentity
impl CandidType for SubnetIdentity
Source§impl Debug for SubnetIdentity
impl Debug for SubnetIdentity
Source§impl<'de> Deserialize<'de> for SubnetIdentity
impl<'de> Deserialize<'de> for SubnetIdentity
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
Auto Trait Implementations§
impl Freeze for SubnetIdentity
impl RefUnwindSafe for SubnetIdentity
impl Send for SubnetIdentity
impl Sync for SubnetIdentity
impl Unpin for SubnetIdentity
impl UnwindSafe for SubnetIdentity
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