pub struct WhoamiResponse {
pub id: String,
pub kind: String,
pub scope: ScopeInfo,
}Expand description
WhoamiResponse
JSON schema
{
"type": "object",
"required": [
"id",
"kind",
"scope"
],
"properties": {
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"scope": {
"$ref": "#/components/schemas/ScopeInfo"
}
}
}Fields§
§id: String§kind: String§scope: ScopeInfoImplementations§
Source§impl WhoamiResponse
impl WhoamiResponse
pub fn builder() -> WhoamiResponse
Trait Implementations§
Source§impl Clone for WhoamiResponse
impl Clone for WhoamiResponse
Source§fn clone(&self) -> WhoamiResponse
fn clone(&self) -> WhoamiResponse
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 WhoamiResponse
impl Debug for WhoamiResponse
Source§impl<'de> Deserialize<'de> for WhoamiResponse
impl<'de> Deserialize<'de> for WhoamiResponse
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<&WhoamiResponse> for WhoamiResponse
impl From<&WhoamiResponse> for WhoamiResponse
Source§fn from(value: &WhoamiResponse) -> Self
fn from(value: &WhoamiResponse) -> Self
Converts to this type from the input type.
Source§impl From<WhoamiResponse> for WhoamiResponse
impl From<WhoamiResponse> for WhoamiResponse
Source§fn from(value: WhoamiResponse) -> Self
fn from(value: WhoamiResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for WhoamiResponse
impl Serialize for WhoamiResponse
Source§impl TryFrom<WhoamiResponse> for WhoamiResponse
impl TryFrom<WhoamiResponse> for WhoamiResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: WhoamiResponse) -> Result<Self, ConversionError>
fn try_from(value: WhoamiResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for WhoamiResponse
impl RefUnwindSafe for WhoamiResponse
impl Send for WhoamiResponse
impl Sync for WhoamiResponse
impl Unpin for WhoamiResponse
impl UnsafeUnpin for WhoamiResponse
impl UnwindSafe for WhoamiResponse
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