pub struct DocDataPrincipal {
pub value: Principal,
}
Expand description
Represents a wrapper around the candid::Principal
type.
This struct is designed to encapsulate a Candid Principal, allowing for integration and usage within Juno hooks contexts.
§Fields
value
: ThePrincipal
this struct wraps.
Fields§
§value: Principal
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DocDataPrincipal
impl<'de> Deserialize<'de> for DocDataPrincipal
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 DocDataPrincipal
impl RefUnwindSafe for DocDataPrincipal
impl Send for DocDataPrincipal
impl Sync for DocDataPrincipal
impl Unpin for DocDataPrincipal
impl UnwindSafe for DocDataPrincipal
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