pub struct GetDelegationForEndUserResponse {
pub expires_at: DateTime<Utc>,
}Expand description
GetDelegationForEndUserResponse
JSON schema
{
"type": "object",
"required": [
"expiresAt"
],
"properties": {
"expiresAt": {
"description": "The date until which the delegation is valid.",
"examples": [
"2026-02-03T10:35:00Z"
],
"type": "string",
"format": "date-time"
}
}
}Fields§
§expires_at: DateTime<Utc>The date until which the delegation is valid.
Implementations§
Trait Implementations§
Source§impl Clone for GetDelegationForEndUserResponse
impl Clone for GetDelegationForEndUserResponse
Source§fn clone(&self) -> GetDelegationForEndUserResponse
fn clone(&self) -> GetDelegationForEndUserResponse
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<'de> Deserialize<'de> for GetDelegationForEndUserResponse
impl<'de> Deserialize<'de> for GetDelegationForEndUserResponse
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<&GetDelegationForEndUserResponse> for GetDelegationForEndUserResponse
impl From<&GetDelegationForEndUserResponse> for GetDelegationForEndUserResponse
Source§fn from(value: &GetDelegationForEndUserResponse) -> Self
fn from(value: &GetDelegationForEndUserResponse) -> Self
Converts to this type from the input type.
Source§impl From<GetDelegationForEndUserResponse> for GetDelegationForEndUserResponse
impl From<GetDelegationForEndUserResponse> for GetDelegationForEndUserResponse
Source§fn from(value: GetDelegationForEndUserResponse) -> Self
fn from(value: GetDelegationForEndUserResponse) -> Self
Converts to this type from the input type.
Source§impl TryFrom<GetDelegationForEndUserResponse> for GetDelegationForEndUserResponse
impl TryFrom<GetDelegationForEndUserResponse> for GetDelegationForEndUserResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: GetDelegationForEndUserResponse,
) -> Result<Self, ConversionError>
fn try_from( value: GetDelegationForEndUserResponse, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for GetDelegationForEndUserResponse
impl RefUnwindSafe for GetDelegationForEndUserResponse
impl Send for GetDelegationForEndUserResponse
impl Sync for GetDelegationForEndUserResponse
impl Unpin for GetDelegationForEndUserResponse
impl UnsafeUnpin for GetDelegationForEndUserResponse
impl UnwindSafe for GetDelegationForEndUserResponse
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