pub struct AccountRestriction<T> {
pub restriction_flags: AccountRestrictionFlags,
pub restriction_additions: BoundedVec<T, { _ }>,
pub restriction_deletions: BoundedVec<T, { _ }>,
}Expand description
アカウントの制限を足す、または外す。並べる値の型だけが違う3種類に共通。
Fields§
§restriction_flags: AccountRestrictionFlags§restriction_additions: BoundedVec<T, { _ }>§restriction_deletions: BoundedVec<T, { _ }>Trait Implementations§
Source§impl<T: Clone> Clone for AccountRestriction<T>
impl<T: Clone> Clone for AccountRestriction<T>
Source§fn clone(&self) -> AccountRestriction<T>
fn clone(&self) -> AccountRestriction<T>
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 moreSource§impl<T: Debug> Debug for AccountRestriction<T>
impl<T: Debug> Debug for AccountRestriction<T>
impl<T: Eq> Eq for AccountRestriction<T>
Source§impl<T: PartialEq> PartialEq for AccountRestriction<T>
impl<T: PartialEq> PartialEq for AccountRestriction<T>
impl<T: PartialEq> StructuralPartialEq for AccountRestriction<T>
Auto Trait Implementations§
impl<T> Freeze for AccountRestriction<T>
impl<T> RefUnwindSafe for AccountRestriction<T>where
T: RefUnwindSafe,
impl<T> Send for AccountRestriction<T>where
T: Send,
impl<T> Sync for AccountRestriction<T>where
T: Sync,
impl<T> Unpin for AccountRestriction<T>where
T: Unpin,
impl<T> UnsafeUnpin for AccountRestriction<T>
impl<T> UnwindSafe for AccountRestriction<T>where
T: UnwindSafe,
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