pub struct UserPrivacySettings {Show 14 fields
pub user_id: String,
pub allow_friend_request: bool,
pub require_verification: bool,
pub friend_request_question: Option<String>,
pub moments_visibility: String,
pub allow_stranger_view_moments: bool,
pub show_online_status: bool,
pub show_phone_to: String,
pub find_by_phone: bool,
pub allow_search_by_linkid: bool,
pub show_qrcode: bool,
pub share_location: bool,
pub created_at: String,
pub updated_at: String,
}Expand description
用户隐私设置
Fields§
§user_id: String§allow_friend_request: bool§require_verification: bool§friend_request_question: Option<String>§moments_visibility: String§allow_stranger_view_moments: bool§show_online_status: bool§show_phone_to: String§find_by_phone: bool§allow_search_by_linkid: bool§show_qrcode: bool§created_at: String§updated_at: StringTrait Implementations§
Source§impl Clone for UserPrivacySettings
impl Clone for UserPrivacySettings
Source§fn clone(&self) -> UserPrivacySettings
fn clone(&self) -> UserPrivacySettings
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 UserPrivacySettings
impl Debug for UserPrivacySettings
Source§impl<'de> Deserialize<'de> for UserPrivacySettings
impl<'de> Deserialize<'de> for UserPrivacySettings
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 Freeze for UserPrivacySettings
impl RefUnwindSafe for UserPrivacySettings
impl Send for UserPrivacySettings
impl Sync for UserPrivacySettings
impl Unpin for UserPrivacySettings
impl UnsafeUnpin for UserPrivacySettings
impl UnwindSafe for UserPrivacySettings
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