pub struct DurationNumberDisplayNode {
pub ticks_per_second: Option<u64>,
}Fields§
§ticks_per_second: Option<u64>Implementations§
Trait Implementations§
Source§impl Clone for DurationNumberDisplayNode
impl Clone for DurationNumberDisplayNode
Source§fn clone(&self) -> DurationNumberDisplayNode
fn clone(&self) -> DurationNumberDisplayNode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DurationNumberDisplayNode
Source§impl Debug for DurationNumberDisplayNode
impl Debug for DurationNumberDisplayNode
Source§impl Default for DurationNumberDisplayNode
impl Default for DurationNumberDisplayNode
Source§fn default() -> DurationNumberDisplayNode
fn default() -> DurationNumberDisplayNode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DurationNumberDisplayNode
impl<'de> Deserialize<'de> for DurationNumberDisplayNode
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 From<DurationNumberDisplayNode> for DisplayNode
impl From<DurationNumberDisplayNode> for DisplayNode
Source§fn from(value: DurationNumberDisplayNode) -> Self
fn from(value: DurationNumberDisplayNode) -> Self
Converts to this type from the input type.
Source§impl From<DurationNumberDisplayNode> for Node
impl From<DurationNumberDisplayNode> for Node
Source§fn from(val: DurationNumberDisplayNode) -> Self
fn from(val: DurationNumberDisplayNode) -> Self
Converts to this type from the input type.
Source§impl From<DurationNumberDisplayNode> for NumberDisplayNode
impl From<DurationNumberDisplayNode> for NumberDisplayNode
Source§fn from(value: DurationNumberDisplayNode) -> Self
fn from(value: DurationNumberDisplayNode) -> Self
Converts to this type from the input type.
Source§impl NodeTrait for DurationNumberDisplayNode
impl NodeTrait for DurationNumberDisplayNode
const KIND: &'static str = "durationNumberDisplayNode"
fn to_json(&self) -> CodamaResult<String>
fn to_json_pretty(&self) -> CodamaResult<String>
fn from_json(json: &str) -> CodamaResult<Self>
impl StructuralPartialEq for DurationNumberDisplayNode
Auto Trait Implementations§
impl Freeze for DurationNumberDisplayNode
impl RefUnwindSafe for DurationNumberDisplayNode
impl Send for DurationNumberDisplayNode
impl Sync for DurationNumberDisplayNode
impl Unpin for DurationNumberDisplayNode
impl UnsafeUnpin for DurationNumberDisplayNode
impl UnwindSafe for DurationNumberDisplayNode
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