pub struct EnvView {
pub prime_root_pid: Option<Principal>,
pub subnet_role: Option<SubnetRole>,
pub subnet_pid: Option<Principal>,
pub root_pid: Option<Principal>,
pub canister_role: Option<CanisterRole>,
pub parent_pid: Option<Principal>,
}Expand description
EnvView
Fields§
§prime_root_pid: Option<Principal>§subnet_role: Option<SubnetRole>§subnet_pid: Option<Principal>§root_pid: Option<Principal>§canister_role: Option<CanisterRole>§parent_pid: Option<Principal>Trait Implementations§
Source§impl CandidType for EnvView
impl CandidType for EnvView
Source§impl<'de> Deserialize<'de> for EnvView
impl<'de> Deserialize<'de> for EnvView
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 EnvView
impl RefUnwindSafe for EnvView
impl Send for EnvView
impl Sync for EnvView
impl Unpin for EnvView
impl UnwindSafe for EnvView
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