pub struct PatchNote {
pub id: Uuid,
pub target: Target,
pub category: Category,
pub title: String,
pub body: String,
pub author_id: Option<Uuid>,
pub image_urls: Vec<String>,
pub created_at: DateTime<FixedOffset>,
}Expand description
PatchNote : Represents a patch note.
Fields§
§id: UuidThe unique identifier of the patch note.
target: TargetThe target of the patch note.
category: CategoryThe category of the patch note.
title: StringThe title of the patch note.
body: StringThe body text of the patch note.
The unique identifier of the player.
image_urls: Vec<String>The URLs of images attached to the patch note.
created_at: DateTime<FixedOffset>The date and time at which the patch note was created.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PatchNote
impl<'de> Deserialize<'de> for PatchNote
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 StructuralPartialEq for PatchNote
Auto Trait Implementations§
impl Freeze for PatchNote
impl RefUnwindSafe for PatchNote
impl Send for PatchNote
impl Sync for PatchNote
impl Unpin for PatchNote
impl UnsafeUnpin for PatchNote
impl UnwindSafe for PatchNote
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