pub struct ExperimentalStaticTime {
pub supported: bool,
}
Expand description
ExperimentalStaticTime : Ledger is in the static time mode and exposes a time service.
Fields§
§supported: bool
Implementations§
Source§impl ExperimentalStaticTime
impl ExperimentalStaticTime
Sourcepub fn new(supported: bool) -> ExperimentalStaticTime
pub fn new(supported: bool) -> ExperimentalStaticTime
Ledger is in the static time mode and exposes a time service.
Trait Implementations§
Source§impl Clone for ExperimentalStaticTime
impl Clone for ExperimentalStaticTime
Source§fn clone(&self) -> ExperimentalStaticTime
fn clone(&self) -> ExperimentalStaticTime
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 ExperimentalStaticTime
impl Debug for ExperimentalStaticTime
Source§impl Default for ExperimentalStaticTime
impl Default for ExperimentalStaticTime
Source§fn default() -> ExperimentalStaticTime
fn default() -> ExperimentalStaticTime
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExperimentalStaticTime
impl<'de> Deserialize<'de> for ExperimentalStaticTime
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 ExperimentalStaticTime
impl PartialEq for ExperimentalStaticTime
Source§impl Serialize for ExperimentalStaticTime
impl Serialize for ExperimentalStaticTime
impl StructuralPartialEq for ExperimentalStaticTime
Auto Trait Implementations§
impl Freeze for ExperimentalStaticTime
impl RefUnwindSafe for ExperimentalStaticTime
impl Send for ExperimentalStaticTime
impl Sync for ExperimentalStaticTime
impl Unpin for ExperimentalStaticTime
impl UnwindSafe for ExperimentalStaticTime
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