pub struct SubDeployer {
pub variant: PerpKind,
pub user: Address,
pub allowed: bool,
}Expand description
One address let in to (allowed), or shut out of, one variant on the
dex.
Fields§
§variant: PerpKindThe perpDeploy variant granted or taken away.
user: AddressThe address the grant is for.
allowed: booltrue lets the address send the variant, false stops it.
Implementations§
Trait Implementations§
Source§impl Clone for SubDeployer
impl Clone for SubDeployer
impl Copy for SubDeployer
Source§impl Debug for SubDeployer
impl Debug for SubDeployer
impl Eq for SubDeployer
Source§impl PartialEq for SubDeployer
impl PartialEq for SubDeployer
impl StructuralPartialEq for SubDeployer
Auto Trait Implementations§
impl Forget for SubDeployer
impl Freeze for SubDeployer
impl Move for SubDeployer
impl RefUnwindSafe for SubDeployer
impl Send for SubDeployer
impl Sync for SubDeployer
impl Unpin for SubDeployer
impl UnsafeUnpin for SubDeployer
impl UnwindSafe for SubDeployer
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.