pub struct UserNote {
pub created_at: DateTime<FixedOffset>,
pub id: String,
pub note: String,
pub target_user: Option<UserNoteTargetUser>,
pub target_user_id: String,
pub user_id: String,
}Fields§
§created_at: DateTime<FixedOffset>§id: String§note: String§target_user: Option<UserNoteTargetUser>§target_user_id: StringA users unique ID, usually in the form of usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469. Legacy players can have old IDs in the form of 8JoV9XEdpo. The ID can never be changed.
user_id: StringA users unique ID, usually in the form of usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469. Legacy players can have old IDs in the form of 8JoV9XEdpo. The ID can never be changed.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UserNote
impl<'de> Deserialize<'de> for UserNote
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 UserNote
Auto Trait Implementations§
impl Freeze for UserNote
impl RefUnwindSafe for UserNote
impl Send for UserNote
impl Sync for UserNote
impl Unpin for UserNote
impl UnsafeUnpin for UserNote
impl UnwindSafe for UserNote
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