pub enum CreateCanisterPlacement {
SubnetId(SubnetId),
CanisterId(CanisterId),
}Expand description
Specifies where to place a newly created canister.
Variants§
SubnetId(SubnetId)
Place the canister on the given subnet.
CanisterId(CanisterId)
Create the canister with the given specific canister ID.
Trait Implementations§
Source§impl Clone for CreateCanisterPlacement
impl Clone for CreateCanisterPlacement
Source§fn clone(&self) -> CreateCanisterPlacement
fn clone(&self) -> CreateCanisterPlacement
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 moreAuto Trait Implementations§
impl Freeze for CreateCanisterPlacement
impl RefUnwindSafe for CreateCanisterPlacement
impl Send for CreateCanisterPlacement
impl Sync for CreateCanisterPlacement
impl Unpin for CreateCanisterPlacement
impl UnsafeUnpin for CreateCanisterPlacement
impl UnwindSafe for CreateCanisterPlacement
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