pub struct AccountRestrictionJson {
pub restriction_flags: u16,
pub values: Vec<AccountRestrictionValue>,
}Expand description
AccountRestrictionDTO。restrictionFlags は種類(1 アドレス、2 モザイク、4 トランザクションの種類)に、
向き(0x4000 送るほう)と拒む印(0x8000)を足したもの
Fields§
§restriction_flags: u16§values: Vec<AccountRestrictionValue>Trait Implementations§
Source§impl Clone for AccountRestrictionJson
impl Clone for AccountRestrictionJson
Source§fn clone(&self) -> AccountRestrictionJson
fn clone(&self) -> AccountRestrictionJson
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 Debug for AccountRestrictionJson
impl Debug for AccountRestrictionJson
Source§impl<'de> Deserialize<'de> for AccountRestrictionJson
impl<'de> Deserialize<'de> for AccountRestrictionJson
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
impl Eq for AccountRestrictionJson
Source§impl PartialEq for AccountRestrictionJson
impl PartialEq for AccountRestrictionJson
Source§impl Serialize for AccountRestrictionJson
impl Serialize for AccountRestrictionJson
impl StructuralPartialEq for AccountRestrictionJson
Auto Trait Implementations§
impl Freeze for AccountRestrictionJson
impl RefUnwindSafe for AccountRestrictionJson
impl Send for AccountRestrictionJson
impl Sync for AccountRestrictionJson
impl Unpin for AccountRestrictionJson
impl UnsafeUnpin for AccountRestrictionJson
impl UnwindSafe for AccountRestrictionJson
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