pub struct CareNote {
pub id: Id,
pub subject: Subject,
pub kind: Kind,
pub visibility: Visibility,
pub body: Body,
pub author: ActorRef,
pub recorded_at: DateTime<Utc>,
pub audit_refs: Vec<EventId>,
}Expand description
Care note with author, visibility, subject, body, source, and review-sensitive timestamps.
Fields§
§id: IdSource-backed id carried by this normalized pet-resort entity.
subject: SubjectSource-backed subject carried by this normalized pet-resort entity.
kind: KindSource-backed kind carried by this normalized pet-resort entity.
visibility: VisibilitySource-backed visibility carried by this normalized pet-resort entity.
body: BodySource-backed body carried by this normalized pet-resort entity.
Source-backed author carried by this normalized pet-resort entity.
recorded_at: DateTime<Utc>Source-backed recorded at carried by this normalized pet-resort entity.
audit_refs: Vec<EventId>Source-backed audit refs carried by this normalized pet-resort entity.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CareNote
impl<'de> Deserialize<'de> for CareNote
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 CareNote
impl StructuralPartialEq for CareNote
Auto Trait Implementations§
impl Freeze for CareNote
impl RefUnwindSafe for CareNote
impl Send for CareNote
impl Sync for CareNote
impl Unpin for CareNote
impl UnsafeUnpin for CareNote
impl UnwindSafe for CareNote
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