pub struct ConfigOauthstatusResponse {
pub auth_url: Option<String>,
pub status: ConfigOauthstatusResponseStatus,
}Expand description
ConfigOauthstatusResponse
JSON schema
{
"type": "object",
"required": [
"status"
],
"properties": {
"authUrl": {
"description": "Authorization URL to open in a browser. Present
only when status is \"running\".",
"type": "string"
},
"status": {
"description": "Whether the OAuth authentication server is
currently running.",
"type": "string",
"enum": [
"running",
"stopped"
]
}
}
}Fields§
§auth_url: Option<String>Authorization URL to open in a browser. Present only when status is “running”.
status: ConfigOauthstatusResponseStatusWhether the OAuth authentication server is currently running.
Trait Implementations§
Source§impl Clone for ConfigOauthstatusResponse
impl Clone for ConfigOauthstatusResponse
Source§fn clone(&self) -> ConfigOauthstatusResponse
fn clone(&self) -> ConfigOauthstatusResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConfigOauthstatusResponse
impl Debug for ConfigOauthstatusResponse
Source§impl<'de> Deserialize<'de> for ConfigOauthstatusResponse
impl<'de> Deserialize<'de> for ConfigOauthstatusResponse
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<&ConfigOauthstatusResponse> for ConfigOauthstatusResponse
impl From<&ConfigOauthstatusResponse> for ConfigOauthstatusResponse
Source§fn from(value: &ConfigOauthstatusResponse) -> Self
fn from(value: &ConfigOauthstatusResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConfigOauthstatusResponse
impl RefUnwindSafe for ConfigOauthstatusResponse
impl Send for ConfigOauthstatusResponse
impl Sync for ConfigOauthstatusResponse
impl Unpin for ConfigOauthstatusResponse
impl UnsafeUnpin for ConfigOauthstatusResponse
impl UnwindSafe for ConfigOauthstatusResponse
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