Struct cetacea_proto::extensions::user_v1::UserInfoV1
source · pub struct UserInfoV1 {
pub header: UserHeaderV1,
pub user_name: UserInfoFieldV1<String>,
pub avatar: UserInfoFieldV1<String>,
pub bio: UserInfoFieldV1<String>,
pub visibility: VisibilityV1,
pub add_to_group: VisibilityV1,
pub last_login_time: UserInfoFieldV1<u64>,
pub last_update_time: UserInfoFieldV1<u64>,
pub extension: BTreeMap<String, UserInfoFieldV1<Value>>,
}Fields§
§header: UserHeaderV1the user header
user_name: UserInfoFieldV1<String>the user name.
avatar: UserInfoFieldV1<String>the user avatar.
bio: UserInfoFieldV1<String>the user bio.
visibility: VisibilityV1the user visibility.
add_to_group: VisibilityV1if the user is letting others add them to group. ROOM V1
last_login_time: UserInfoFieldV1<u64>last login time
last_update_time: UserInfoFieldV1<u64>last update time
extension: BTreeMap<String, UserInfoFieldV1<Value>>externsion
Trait Implementations§
source§impl Debug for UserInfoV1
impl Debug for UserInfoV1
source§impl<'de> Deserialize<'de> for UserInfoV1
impl<'de> Deserialize<'de> for UserInfoV1
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 UserInfoV1
impl Send for UserInfoV1
impl Sync for UserInfoV1
impl Unpin for UserInfoV1
impl UnwindSafe for UserInfoV1
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
impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size:208 bytes