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