pub struct CarbonContent {
pub formatted: String,
pub timestamp: i64,
pub timezone: String,
}Expand description
Payload for carbon-like timestamps.
Fields§
§formatted: String§timestamp: i64§timezone: StringTrait Implementations§
Source§impl Clone for CarbonContent
impl Clone for CarbonContent
Source§fn clone(&self) -> CarbonContent
fn clone(&self) -> CarbonContent
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 CarbonContent
impl Debug for CarbonContent
Auto Trait Implementations§
impl Freeze for CarbonContent
impl RefUnwindSafe for CarbonContent
impl Send for CarbonContent
impl Sync for CarbonContent
impl Unpin for CarbonContent
impl UnwindSafe for CarbonContent
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