pub struct UserStatus {
pub description: String,
pub details: Option<String>,
pub state: State,
pub color: String,
pub until: Option<i32>,
pub travel_type: Option<String>,
pub plane_image_type: Option<UserPlaneImageTypeEnum>,
}
Expand description
Details about a user’s status.
Fields§
§description: String
§details: Option<String>
§state: State
§color: String
§until: Option<i32>
§travel_type: Option<String>
👎Deprecated: This field is replaced by the ‘plane_image_type’ field and will be removed on October 1st 2025.
This field is replaced by the ‘plane_image_type’ field and will be removed on October 1st 2025.
plane_image_type: Option<UserPlaneImageTypeEnum>
This field is populated only if the state is ‘Traveling’.
Trait Implementations§
Source§impl Clone for UserStatus
impl Clone for UserStatus
Source§fn clone(&self) -> UserStatus
fn clone(&self) -> UserStatus
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 UserStatus
impl Debug for UserStatus
Source§impl<'de> Deserialize<'de> for UserStatus
impl<'de> Deserialize<'de> for UserStatus
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 UserStatus
impl PartialEq for UserStatus
impl StructuralPartialEq for UserStatus
Auto Trait Implementations§
impl Freeze for UserStatus
impl RefUnwindSafe for UserStatus
impl Send for UserStatus
impl Sync for UserStatus
impl Unpin for UserStatus
impl UnwindSafe for UserStatus
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