Struct ruma_federation_api::query::get_profile_information::v1::Response
source · pub struct Response {
pub displayname: Option<String>,
pub avatar_url: Option<OwnedMxcUri>,
pub blurhash: Option<String>,
}
Expand description
Response type for the get_profile_information
endpoint.
Fields§
§displayname: Option<String>
Display name of the user.
avatar_url: Option<OwnedMxcUri>
Avatar URL for the user’s avatar.
If you activate the compat-empty-string-null
feature, this field being an empty
string in JSON will result in None
here during deserialization.
blurhash: Option<String>
Available on crate feature
unstable-msc2448
only.Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)