pub struct Metadata { /* private fields */ }
Expand description
Metadata of Inputs, Txn Set, Reporting parameters, etc.
Implementations§
Source§impl Metadata
impl Metadata
Sourcepub fn from_metadata(md: &Metadata) -> Metadata
pub fn from_metadata(md: &Metadata) -> Metadata
Get new metadata from existing Metadata.
If there is an existing TxnSetChecksum
metadata item,
it will be removed from the new set.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Metadata
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnwindSafe for Metadata
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