pub struct GetInstanceSecurityResponse {
pub current: GetInstanceSecurityResponseCurrent,
pub previous: Option<GetInstanceSecurityResponsePrevious>,
}Expand description
GetInstanceSecurityResponse
JSON schema
{
"type": "object",
"required": [
"current",
"previous"
],
"properties": {
"current": {
"type": "object",
"required": [
"alg",
"crv",
"kid",
"kty",
"use",
"x"
],
"properties": {
"alg": {
"type": "string"
},
"created_at": {
"type": "number"
},
"crv": {
"type": "string"
},
"kid": {
"type": "string"
},
"kty": {
"type": "string"
},
"rotated_at": {
"type": "number"
},
"use": {
"type": "string"
},
"x": {
"type": "string"
}
}
},
"previous": {
"type": [
"object",
"null"
],
"required": [
"alg",
"crv",
"kid",
"kty",
"use",
"x"
],
"properties": {
"alg": {
"type": "string"
},
"created_at": {
"type": "number"
},
"crv": {
"type": "string"
},
"kid": {
"type": "string"
},
"kty": {
"type": "string"
},
"rotated_at": {
"type": "number"
},
"use": {
"type": "string"
},
"x": {
"type": "string"
}
}
}
}
}Fields§
§current: GetInstanceSecurityResponseCurrent§previous: Option<GetInstanceSecurityResponsePrevious>Implementations§
Trait Implementations§
Source§impl Clone for GetInstanceSecurityResponse
impl Clone for GetInstanceSecurityResponse
Source§fn clone(&self) -> GetInstanceSecurityResponse
fn clone(&self) -> GetInstanceSecurityResponse
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 GetInstanceSecurityResponse
impl Debug for GetInstanceSecurityResponse
Source§impl<'de> Deserialize<'de> for GetInstanceSecurityResponse
impl<'de> Deserialize<'de> for GetInstanceSecurityResponse
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<&GetInstanceSecurityResponse> for GetInstanceSecurityResponse
impl From<&GetInstanceSecurityResponse> for GetInstanceSecurityResponse
Source§fn from(value: &GetInstanceSecurityResponse) -> Self
fn from(value: &GetInstanceSecurityResponse) -> Self
Converts to this type from the input type.
Source§impl From<GetInstanceSecurityResponse> for GetInstanceSecurityResponse
impl From<GetInstanceSecurityResponse> for GetInstanceSecurityResponse
Source§fn from(value: GetInstanceSecurityResponse) -> Self
fn from(value: GetInstanceSecurityResponse) -> Self
Converts to this type from the input type.
Source§impl TryFrom<GetInstanceSecurityResponse> for GetInstanceSecurityResponse
impl TryFrom<GetInstanceSecurityResponse> for GetInstanceSecurityResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: GetInstanceSecurityResponse) -> Result<Self, ConversionError>
fn try_from(value: GetInstanceSecurityResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for GetInstanceSecurityResponse
impl RefUnwindSafe for GetInstanceSecurityResponse
impl Send for GetInstanceSecurityResponse
impl Sync for GetInstanceSecurityResponse
impl Unpin for GetInstanceSecurityResponse
impl UnsafeUnpin for GetInstanceSecurityResponse
impl UnwindSafe for GetInstanceSecurityResponse
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