[−][src]Struct iota_model::Transfer
Represents a transfer in IOTA
Methods
impl Transfer
[src]
pub fn address(&self) -> &str
[src]
Provides a view of the address
pub fn address_mut(&mut self) -> &mut String
[src]
Provides a mutable view of the address
pub fn set_address<T>(&mut self, new_value: T) where
T: Into<String>,
[src]
T: Into<String>,
Setter accepting anything that can be turned into the relevant type
pub fn hash(&self) -> &Option<String>
[src]
Provides a view of the hash
pub fn hash_mut(&mut self) -> &mut Option<String>
[src]
Provides a mutable view of the hash
pub fn set_hash<T>(&mut self, new_value: T) where
T: Into<String>,
[src]
T: Into<String>,
Setter accepting anything that can be turned into the relevant type
pub fn persistence(&self) -> &Option<bool>
[src]
Provides a view of the persistence
pub fn persistence_mut(&mut self) -> &mut Option<bool>
[src]
Provides a mutable view of the persistence
pub fn set_persistence<T>(&mut self, new_value: T) where
T: Into<bool>,
[src]
T: Into<bool>,
Setter accepting anything that can be turned into the relevant type
pub fn timestamp(&self) -> &Option<String>
[src]
Provides a view of the timestamp
pub fn timestamp_mut(&mut self) -> &mut Option<String>
[src]
Provides a mutable view of the timestamp
pub fn set_timestamp<T>(&mut self, new_value: T) where
T: Into<String>,
[src]
T: Into<String>,
Setter accepting anything that can be turned into the relevant type
pub fn value(&self) -> &i64
[src]
Provides a view of the value
pub fn value_mut(&mut self) -> &mut i64
[src]
Provides a mutable view of the value
pub fn set_value<T>(&mut self, new_value: T) where
T: Into<i64>,
[src]
T: Into<i64>,
Setter accepting anything that can be turned into the relevant type
pub fn message(&self) -> &str
[src]
Provides a view of the message
pub fn message_mut(&mut self) -> &mut String
[src]
Provides a mutable view of the message
pub fn set_message<T>(&mut self, new_value: T) where
T: Into<String>,
[src]
T: Into<String>,
Setter accepting anything that can be turned into the relevant type
pub fn tag(&self) -> Option<String>
[src]
Provides a view of the tag
pub fn tag_mut(&mut self) -> &mut Option<String>
[src]
Provides a mutable view of the tag
pub fn set_tag<T>(&mut self, new_value: T) where
T: Into<String>,
[src]
T: Into<String>,
Setter accepting anything that can be turned into the relevant type
pub fn obsolete_tag(&self) -> Option<String>
[src]
Provides a view of the obsolete_tag
pub fn obsolete_tag_mut(&mut self) -> &mut Option<String>
[src]
Provides a mutable view of the obsolete_tag
pub fn set_obsolete_tag<T>(&mut self, new_value: T) where
T: Into<String>,
[src]
T: Into<String>,
Setter accepting anything that can be turned into the relevant type
Trait Implementations
impl Into<Vec<Transfer>> for Transfer
[src]
impl<'_> Into<Vec<Transfer>> for &'_ Transfer
[src]
impl PartialEq<Transfer> for Transfer
[src]
impl Clone for Transfer
[src]
fn clone(&self) -> Transfer
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for Transfer
[src]
impl Debug for Transfer
[src]
impl Display for Transfer
[src]
impl Serialize for Transfer
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Transfer
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,