pub enum UdcUniqueness {
NotUnique,
Unique(UdcUniqueSettings),
}
Expand description
The uniqueness settings for UDC deployments.
Variants§
NotUnique
Contract deployment is not unique to the deployer, as in any deployer account can deploy to this same deployed address given the same settings.
Unique(UdcUniqueSettings)
Contract deployment is unique to the deployer, as in the deployer address is used to form part of the deployment salt, making it impossible to another deployer account to deploy to the same deployed address, even using the same UDC inputs.
Trait Implementations§
Source§impl Clone for UdcUniqueness
impl Clone for UdcUniqueness
Source§fn clone(&self) -> UdcUniqueness
fn clone(&self) -> UdcUniqueness
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 moreAuto Trait Implementations§
impl Freeze for UdcUniqueness
impl RefUnwindSafe for UdcUniqueness
impl Send for UdcUniqueness
impl Sync for UdcUniqueness
impl Unpin for UdcUniqueness
impl UnwindSafe for UdcUniqueness
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