pub struct MinLedgerTimeRel {
pub value: Box<Duration>,
}
Fields§
§value: Box<Duration>
Implementations§
Source§impl MinLedgerTimeRel
impl MinLedgerTimeRel
pub fn new(value: Duration) -> MinLedgerTimeRel
Trait Implementations§
Source§impl Clone for MinLedgerTimeRel
impl Clone for MinLedgerTimeRel
Source§fn clone(&self) -> MinLedgerTimeRel
fn clone(&self) -> MinLedgerTimeRel
Returns a duplicate 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 MinLedgerTimeRel
impl Debug for MinLedgerTimeRel
Source§impl Default for MinLedgerTimeRel
impl Default for MinLedgerTimeRel
Source§fn default() -> MinLedgerTimeRel
fn default() -> MinLedgerTimeRel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MinLedgerTimeRel
impl<'de> Deserialize<'de> for MinLedgerTimeRel
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 MinLedgerTimeRel
impl PartialEq for MinLedgerTimeRel
Source§impl Serialize for MinLedgerTimeRel
impl Serialize for MinLedgerTimeRel
impl StructuralPartialEq for MinLedgerTimeRel
Auto Trait Implementations§
impl Freeze for MinLedgerTimeRel
impl RefUnwindSafe for MinLedgerTimeRel
impl Send for MinLedgerTimeRel
impl Sync for MinLedgerTimeRel
impl Unpin for MinLedgerTimeRel
impl UnwindSafe for MinLedgerTimeRel
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