Struct tea_sdk::utils::wasm_actor::actors::tappstore::SimpleDate
pub struct SimpleDate {
pub year: i32,
pub month: u32,
pub day: u32,
}
Expand description
Simple system date formatter
Fields§
§year: i32
§month: u32
§day: u32
Implementations§
§impl SimpleDate
impl SimpleDate
pub fn new(year: i32, month: u32, day: u32) -> SimpleDate
Trait Implementations§
§impl Clone for SimpleDate
impl Clone for SimpleDate
§fn clone(&self) -> SimpleDate
fn clone(&self) -> SimpleDate
Returns a copy 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 more§impl Debug for SimpleDate
impl Debug for SimpleDate
§impl PartialEq for SimpleDate
impl PartialEq for SimpleDate
§fn eq(&self, other: &SimpleDate) -> bool
fn eq(&self, other: &SimpleDate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SimpleDate
impl Eq for SimpleDate
impl StructuralEq for SimpleDate
impl StructuralPartialEq for SimpleDate
Auto Trait Implementations§
impl RefUnwindSafe for SimpleDate
impl Send for SimpleDate
impl Sync for SimpleDate
impl Unpin for SimpleDate
impl UnwindSafe for SimpleDate
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.