pub struct SentNotification {
pub created_at: String,
pub details: SentNotificationDetails,
pub id: String,
pub message: String,
pub receiver_user_id: String,
pub sender_user_id: String,
pub sender_username: Option<String>,
pub type: NotificationType,
}Expand description
SentNotification :
Fields§
§created_at: String§details: SentNotificationDetails§id: String§message: String§receiver_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.
sender_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.
sender_username: Option<String>-| DEPRECATED: VRChat API no longer return usernames of other users. See issue by Tupper for more information.
type: NotificationTypeImplementations§
Source§impl SentNotification
impl SentNotification
pub fn new( created_at: String, details: SentNotificationDetails, id: String, message: String, receiver_user_id: String, sender_user_id: String, type: NotificationType, ) -> SentNotification
Trait Implementations§
Source§impl Clone for SentNotification
impl Clone for SentNotification
Source§fn clone(&self) -> SentNotification
fn clone(&self) -> SentNotification
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 SentNotification
impl Debug for SentNotification
Source§impl Default for SentNotification
impl Default for SentNotification
Source§fn default() -> SentNotification
fn default() -> SentNotification
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SentNotification
impl<'de> Deserialize<'de> for SentNotification
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
Source§impl PartialEq for SentNotification
impl PartialEq for SentNotification
Source§impl Serialize for SentNotification
impl Serialize for SentNotification
impl StructuralPartialEq for SentNotification
Auto Trait Implementations§
impl Freeze for SentNotification
impl RefUnwindSafe for SentNotification
impl Send for SentNotification
impl Sync for SentNotification
impl Unpin for SentNotification
impl UnwindSafe for SentNotification
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