pub struct CurrentDateTime(/* private fields */);
Expand description
Represents the device current date time.
Implementations§
Source§impl CurrentDateTime
impl CurrentDateTime
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new CurrentDateTime.
Sourcepub fn inner(&self) -> &str
pub fn inner(&self) -> &str
Gets a reference to the CurrentDateTime inner representation.
Sourcepub fn set_inner(&mut self, val: &str)
pub fn set_inner(&mut self, val: &str)
Sets the CurrentDateTime inner representation value.
Sourcepub fn with_inner(self, val: &str) -> Self
pub fn with_inner(self, val: &str) -> Self
Builder function that sets the CurrentDateTime inner representation value.
Sourcepub fn into_inner(self) -> String
pub fn into_inner(self) -> String
Converts the CurrentDateTime into the inner representation.
Trait Implementations§
Source§impl Clone for CurrentDateTime
impl Clone for CurrentDateTime
Source§fn clone(&self) -> CurrentDateTime
fn clone(&self) -> CurrentDateTime
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 CurrentDateTime
impl Debug for CurrentDateTime
Source§impl Default for CurrentDateTime
impl Default for CurrentDateTime
Source§impl Display for CurrentDateTime
impl Display for CurrentDateTime
Source§impl From<&CurrentDateTime> for String
impl From<&CurrentDateTime> for String
Source§fn from(val: &CurrentDateTime) -> Self
fn from(val: &CurrentDateTime) -> Self
Converts to this type from the input type.
Source§impl From<&CurrentDateTime> for XfsMember
impl From<&CurrentDateTime> for XfsMember
Source§fn from(val: &CurrentDateTime) -> Self
fn from(val: &CurrentDateTime) -> Self
Converts to this type from the input type.
Source§impl From<&CurrentDateTime> for XfsValue
impl From<&CurrentDateTime> for XfsValue
Source§fn from(val: &CurrentDateTime) -> Self
fn from(val: &CurrentDateTime) -> Self
Converts to this type from the input type.
Source§impl From<&str> for CurrentDateTime
impl From<&str> for CurrentDateTime
Source§impl From<CurrentDateTime> for String
impl From<CurrentDateTime> for String
Source§fn from(val: CurrentDateTime) -> Self
fn from(val: CurrentDateTime) -> Self
Converts to this type from the input type.
Source§impl From<CurrentDateTime> for XfsMember
impl From<CurrentDateTime> for XfsMember
Source§fn from(val: CurrentDateTime) -> Self
fn from(val: CurrentDateTime) -> Self
Converts to this type from the input type.
Source§impl From<CurrentDateTime> for XfsValue
impl From<CurrentDateTime> for XfsValue
Source§fn from(val: CurrentDateTime) -> Self
fn from(val: CurrentDateTime) -> Self
Converts to this type from the input type.
Source§impl From<String> for CurrentDateTime
impl From<String> for CurrentDateTime
Source§impl PartialEq for CurrentDateTime
impl PartialEq for CurrentDateTime
Source§impl TryFrom<&CurrentDateTime> for OffsetDateTime
impl TryFrom<&CurrentDateTime> for OffsetDateTime
Source§impl TryFrom<&XfsMember> for CurrentDateTime
impl TryFrom<&XfsMember> for CurrentDateTime
Source§impl TryFrom<&XfsValue> for CurrentDateTime
impl TryFrom<&XfsValue> for CurrentDateTime
Source§impl TryFrom<XfsMember> for CurrentDateTime
impl TryFrom<XfsMember> for CurrentDateTime
Source§impl TryFrom<XfsValue> for CurrentDateTime
impl TryFrom<XfsValue> for CurrentDateTime
impl Eq for CurrentDateTime
impl StructuralPartialEq for CurrentDateTime
Auto Trait Implementations§
impl Freeze for CurrentDateTime
impl RefUnwindSafe for CurrentDateTime
impl Send for CurrentDateTime
impl Sync for CurrentDateTime
impl Unpin for CurrentDateTime
impl UnwindSafe for CurrentDateTime
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