pub struct TicketNote {
pub ts: DateTime<Utc>,
pub author: String,
pub text: String,
}Expand description
One note on a ticket. Field order is the on-disk key order (ts,
author, text); additive-only like every persisted shape here.
Fields§
§ts: DateTime<Utc>§text: StringTrait Implementations§
Source§impl Clone for TicketNote
impl Clone for TicketNote
Source§fn clone(&self) -> TicketNote
fn clone(&self) -> TicketNote
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 moreSource§impl Debug for TicketNote
impl Debug for TicketNote
Source§impl<'de> Deserialize<'de> for TicketNote
impl<'de> Deserialize<'de> for TicketNote
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
impl Eq for TicketNote
Source§impl PartialEq for TicketNote
impl PartialEq for TicketNote
Source§impl Serialize for TicketNote
impl Serialize for TicketNote
impl StructuralPartialEq for TicketNote
Auto Trait Implementations§
impl Freeze for TicketNote
impl RefUnwindSafe for TicketNote
impl Send for TicketNote
impl Sync for TicketNote
impl Unpin for TicketNote
impl UnsafeUnpin for TicketNote
impl UnwindSafe for TicketNote
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