pub struct OAuthGrantRevokeResponse {
pub success: bool,
}Expand description
Response from revoking an OAuth grant.
JSON schema
{
"title": "OAuthGrantRevokeResponse",
"description": "Response from revoking an OAuth grant.",
"examples": [
{
"success": true
}
],
"type": "object",
"required": [
"success"
],
"properties": {
"success": {
"description": "Whether the revocation was processed.",
"type": "boolean",
"enum": [
true
]
}
},
"x-stainless-model": "oauth.oauth_grant_revoke_response"
}Fields§
§success: boolWhether the revocation was processed.
Trait Implementations§
Source§impl Clone for OAuthGrantRevokeResponse
impl Clone for OAuthGrantRevokeResponse
Source§fn clone(&self) -> OAuthGrantRevokeResponse
fn clone(&self) -> OAuthGrantRevokeResponse
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 OAuthGrantRevokeResponse
impl Debug for OAuthGrantRevokeResponse
Source§impl<'de> Deserialize<'de> for OAuthGrantRevokeResponse
impl<'de> Deserialize<'de> for OAuthGrantRevokeResponse
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<&OAuthGrantRevokeResponse> for OAuthGrantRevokeResponse
impl From<&OAuthGrantRevokeResponse> for OAuthGrantRevokeResponse
Source§fn from(value: &OAuthGrantRevokeResponse) -> Self
fn from(value: &OAuthGrantRevokeResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OAuthGrantRevokeResponse
impl RefUnwindSafe for OAuthGrantRevokeResponse
impl Send for OAuthGrantRevokeResponse
impl Sync for OAuthGrantRevokeResponse
impl Unpin for OAuthGrantRevokeResponse
impl UnsafeUnpin for OAuthGrantRevokeResponse
impl UnwindSafe for OAuthGrantRevokeResponse
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