pub struct UserSummary {
pub login_id: String,
pub name: String,
pub picture_link: Option<String>,
pub type_: UserSummaryType,
}
Expand description
Summary about the user.
JSON schema
{
"description": "Summary about the user.",
"type": "object",
"required": [
"loginId",
"name",
"type"
],
"properties": {
"loginId": {
"description": "Email address of the user.",
"examples": [
"user@example.com"
],
"type": "string"
},
"name": {
"description": "Name of the user.",
"examples": [
"John Doe"
],
"type": "string"
},
"pictureLink": {
"description": "Browser-friendly link to the user's avatar image.",
"examples": [
"https://cdn.coda.io/avatars/default_avatar.png"
],
"type": "string",
"format": "url"
},
"type": {
"description": "The type of this resource.",
"type": "string",
"enum": [
"user"
],
"x-tsType": "Type.User"
}
},
"additionalProperties": false,
"x-schema-name": "UserSummary"
}
Fields§
§login_id: String
Email address of the user.
name: String
Name of the user.
picture_link: Option<String>
Browser-friendly link to the user’s avatar image.
type_: UserSummaryType
The type of this resource.
Trait Implementations§
Source§impl Clone for UserSummary
impl Clone for UserSummary
Source§fn clone(&self) -> UserSummary
fn clone(&self) -> UserSummary
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 UserSummary
impl Debug for UserSummary
Source§impl<'de> Deserialize<'de> for UserSummary
impl<'de> Deserialize<'de> for UserSummary
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 From<&UserSummary> for UserSummary
impl From<&UserSummary> for UserSummary
Source§fn from(value: &UserSummary) -> Self
fn from(value: &UserSummary) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UserSummary
impl RefUnwindSafe for UserSummary
impl Send for UserSummary
impl Sync for UserSummary
impl Unpin for UserSummary
impl UnwindSafe for UserSummary
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