pub enum SenderAddress {
Single(String),
Multiple(Vec<String>),
}Expand description
Sender address — can be a single address or an array of addresses/paths.
Variants§
Trait Implementations§
Source§impl Clone for SenderAddress
impl Clone for SenderAddress
Source§fn clone(&self) -> SenderAddress
fn clone(&self) -> SenderAddress
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 SenderAddress
impl Debug for SenderAddress
Source§impl<'de> Deserialize<'de> for SenderAddress
impl<'de> Deserialize<'de> for SenderAddress
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
Auto Trait Implementations§
impl Freeze for SenderAddress
impl RefUnwindSafe for SenderAddress
impl Send for SenderAddress
impl Sync for SenderAddress
impl Unpin for SenderAddress
impl UnsafeUnpin for SenderAddress
impl UnwindSafe for SenderAddress
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