pub struct DenyList {
pub id: UID,
pub lists: Bag,
}
Expand description
A shared object that stores the addresses that are blocked for a given core type.
Fields§
§id: UID
§lists: Bag
The individual deny lists.
Implementations§
Source§impl DenyList
impl DenyList
pub fn move_instance(self) -> MoveInstance<Self>
pub fn type_() -> DenyListTypeTag
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DenyList
impl<'de> Deserialize<'de> for DenyList
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
Source§impl MoveStruct for DenyList
impl MoveStruct for DenyList
type StructTag = DenyListTypeTag
Source§impl MoveType for DenyList
impl MoveType for DenyList
Source§impl StaticModule for DenyList
impl StaticModule for DenyList
fn module() -> Identifier
Source§impl StaticName for DenyList
impl StaticName for DenyList
fn name() -> Identifier
Source§impl StaticTypeParams for DenyList
impl StaticTypeParams for DenyList
fn type_params() -> Vec<TypeTag>
impl Eq for DenyList
impl StructuralPartialEq for DenyList
Auto Trait Implementations§
impl Freeze for DenyList
impl RefUnwindSafe for DenyList
impl Send for DenyList
impl Sync for DenyList
impl Unpin for DenyList
impl UnwindSafe for DenyList
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more