[−][src]Struct iota_model::Inputs
Represents a grouping of inputs and their cumulative balance
Methods
impl Inputs
[src]
pub fn inputs_list(&self) -> &[Input]
[src]
Provides a view of the inputs_list
pub fn inputs_list_mut(&mut self) -> &mut [Input]
[src]
Provides a mutable view of the inputs_list
pub fn set_inputs_list(&mut self, new_value: impl Into<Vec<Input>>)
[src]
Setter accepting anything that can be turned into the relevant type
pub fn add(&mut self, new_value: impl Into<Input>)
[src]
Provides a view of the inputs address
pub fn total_balance(&self) -> i64
[src]
Provides a view of the total_balance
pub fn total_balance_mut(&mut self) -> &mut i64
[src]
Provides a mutable view of the total_balance
pub fn set_total_balance(&mut self, new_value: impl Into<i64>)
[src]
Setter accepting anything that can be turned into the relevant type
Trait Implementations
impl Clone for Inputs
[src]
impl Default for Inputs
[src]
impl PartialEq<Inputs> for Inputs
[src]
impl Display for Inputs
[src]
impl Debug for Inputs
[src]
impl Serialize for Inputs
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Inputs
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for Inputs
impl Sync for Inputs
impl Unpin for Inputs
impl UnwindSafe for Inputs
impl RefUnwindSafe for Inputs
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
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>,