Struct rive_models::event::UserRelationshipEvent
source · pub struct UserRelationshipEvent {
pub id: String,
pub user: User,
pub status: RelationshipStatus,
}Expand description
User relationship update event data
Fields§
§id: String§user: UserUser with whom relationship changed
status: RelationshipStatusNew relationship status
Trait Implementations§
source§impl Clone for UserRelationshipEvent
impl Clone for UserRelationshipEvent
source§fn clone(&self) -> UserRelationshipEvent
fn clone(&self) -> UserRelationshipEvent
Returns a copy 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 UserRelationshipEvent
impl Debug for UserRelationshipEvent
source§impl<'de> Deserialize<'de> for UserRelationshipEvent
impl<'de> Deserialize<'de> for UserRelationshipEvent
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
Auto Trait Implementations§
impl RefUnwindSafe for UserRelationshipEvent
impl Send for UserRelationshipEvent
impl Sync for UserRelationshipEvent
impl Unpin for UserRelationshipEvent
impl UnwindSafe for UserRelationshipEvent
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