pub struct CanisterConfig {
pub name: String,
pub version: String,
pub canister_id: Principal,
}Expand description
Canister configuration
Fields§
§name: String§version: String§canister_id: PrincipalTrait Implementations§
Source§impl CandidType for CanisterConfig
impl CandidType for CanisterConfig
Source§impl Clone for CanisterConfig
impl Clone for CanisterConfig
Source§fn clone(&self) -> CanisterConfig
fn clone(&self) -> CanisterConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 CanisterConfig
impl Debug for CanisterConfig
Source§impl<'de> Deserialize<'de> for CanisterConfig
impl<'de> Deserialize<'de> for CanisterConfig
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 CanisterConfig
impl RefUnwindSafe for CanisterConfig
impl Send for CanisterConfig
impl Sync for CanisterConfig
impl Unpin for CanisterConfig
impl UnwindSafe for CanisterConfig
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