pub struct CurrentDateTime(/* private fields */);Expand description
Represents the device current date time.
Implementations§
Source§impl CurrentDateTime
impl CurrentDateTime
Sourcepub const fn new() -> CurrentDateTime
pub const fn new() -> CurrentDateTime
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) -> CurrentDateTime
pub fn with_inner(self, val: &str) -> CurrentDateTime
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§fn default() -> CurrentDateTime
fn default() -> CurrentDateTime
Returns the “default value” for a type. Read more
Source§impl Display for CurrentDateTime
impl Display for CurrentDateTime
Source§impl From<&CurrentDateTime> for XfsMember
impl From<&CurrentDateTime> for XfsMember
Source§fn from(val: &CurrentDateTime) -> XfsMember
fn from(val: &CurrentDateTime) -> XfsMember
Converts to this type from the input type.
Source§impl From<&CurrentDateTime> for XfsValue
impl From<&CurrentDateTime> for XfsValue
Source§fn from(val: &CurrentDateTime) -> XfsValue
fn from(val: &CurrentDateTime) -> XfsValue
Converts to this type from the input type.
Source§impl From<&str> for CurrentDateTime
impl From<&str> for CurrentDateTime
Source§fn from(val: &str) -> CurrentDateTime
fn from(val: &str) -> CurrentDateTime
Converts to this type from the input type.
Source§impl From<CurrentDateTime> for XfsMember
impl From<CurrentDateTime> for XfsMember
Source§fn from(val: CurrentDateTime) -> XfsMember
fn from(val: CurrentDateTime) -> XfsMember
Converts to this type from the input type.
Source§impl From<CurrentDateTime> for XfsValue
impl From<CurrentDateTime> for XfsValue
Source§fn from(val: CurrentDateTime) -> XfsValue
fn from(val: CurrentDateTime) -> XfsValue
Converts to this type from the input type.
Source§impl From<String> for CurrentDateTime
impl From<String> for CurrentDateTime
Source§fn from(val: String) -> CurrentDateTime
fn from(val: String) -> CurrentDateTime
Converts to this type from the input type.
Source§impl PartialEq for CurrentDateTime
impl PartialEq for CurrentDateTime
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