pub struct PolicyRuleSrc {
pub ids: Option<Vec<Vec<SrcOrDestAttributesInner>>>,
}
Expand description
PolicyRuleSrc : Defines source accounts the rule allows transfers to originate from
Fields§
§ids: Option<Vec<Vec<SrcOrDestAttributesInner>>>
A set of ids in a tuple format
Implementations§
Source§impl PolicyRuleSrc
impl PolicyRuleSrc
Sourcepub fn new() -> PolicyRuleSrc
pub fn new() -> PolicyRuleSrc
Defines source accounts the rule allows transfers to originate from
Trait Implementations§
Source§impl Clone for PolicyRuleSrc
impl Clone for PolicyRuleSrc
Source§fn clone(&self) -> PolicyRuleSrc
fn clone(&self) -> PolicyRuleSrc
Returns a copy 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 moreSource§impl Debug for PolicyRuleSrc
impl Debug for PolicyRuleSrc
Source§impl Default for PolicyRuleSrc
impl Default for PolicyRuleSrc
Source§fn default() -> PolicyRuleSrc
fn default() -> PolicyRuleSrc
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PolicyRuleSrc
impl<'de> Deserialize<'de> for PolicyRuleSrc
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 PartialEq for PolicyRuleSrc
impl PartialEq for PolicyRuleSrc
Source§impl Serialize for PolicyRuleSrc
impl Serialize for PolicyRuleSrc
impl StructuralPartialEq for PolicyRuleSrc
Auto Trait Implementations§
impl Freeze for PolicyRuleSrc
impl RefUnwindSafe for PolicyRuleSrc
impl Send for PolicyRuleSrc
impl Sync for PolicyRuleSrc
impl Unpin for PolicyRuleSrc
impl UnwindSafe for PolicyRuleSrc
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