pub struct UserProfileResponse {
pub user_id: UserId,
pub display_name: Option<ProfileDisplayName>,
pub lightning_address: Option<LightningAddress>,
pub tips_enabled: bool,
pub version: ProfileVersion,
pub updated_at: OffsetDateTime,
}Expand description
The authenticated user’s mutable public profile.
Fields§
§user_id: UserId§display_name: Option<ProfileDisplayName>§lightning_address: Option<LightningAddress>§tips_enabled: bool§version: ProfileVersion§updated_at: OffsetDateTimeTrait Implementations§
Source§impl Clone for UserProfileResponse
impl Clone for UserProfileResponse
Source§impl Debug for UserProfileResponse
impl Debug for UserProfileResponse
Source§impl<'de> Deserialize<'de> for UserProfileResponse
impl<'de> Deserialize<'de> for UserProfileResponse
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
impl Eq for UserProfileResponse
Source§impl PartialEq for UserProfileResponse
impl PartialEq for UserProfileResponse
Source§impl Serialize for UserProfileResponse
impl Serialize for UserProfileResponse
impl StructuralPartialEq for UserProfileResponse
Auto Trait Implementations§
impl Freeze for UserProfileResponse
impl RefUnwindSafe for UserProfileResponse
impl Send for UserProfileResponse
impl Sync for UserProfileResponse
impl Unpin for UserProfileResponse
impl UnsafeUnpin for UserProfileResponse
impl UnwindSafe for UserProfileResponse
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