pub struct GenerateEphemeralCertRequest {
pub access_token: Option<String>,
pub public_key: Option<String>,
pub read_time: Option<DateTime<Utc>>,
pub valid_duration: Option<Duration>,
}
Expand description
Ephemeral certificate creation request.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- generate ephemeral connect (request)
Fields§
§access_token: Option<String>
Optional. Access token to include in the signed certificate.
public_key: Option<String>
PEM encoded public key to include in the signed certificate.
read_time: Option<DateTime<Utc>>
Optional. Optional snapshot read timestamp to trade freshness for performance.
valid_duration: Option<Duration>
Optional. If set, it will contain the cert valid duration.
Trait Implementations§
source§impl Clone for GenerateEphemeralCertRequest
impl Clone for GenerateEphemeralCertRequest
source§fn clone(&self) -> GenerateEphemeralCertRequest
fn clone(&self) -> GenerateEphemeralCertRequest
Returns a copy 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 GenerateEphemeralCertRequest
impl Debug for GenerateEphemeralCertRequest
source§impl Default for GenerateEphemeralCertRequest
impl Default for GenerateEphemeralCertRequest
source§fn default() -> GenerateEphemeralCertRequest
fn default() -> GenerateEphemeralCertRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GenerateEphemeralCertRequest
impl<'de> Deserialize<'de> for GenerateEphemeralCertRequest
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
impl RequestValue for GenerateEphemeralCertRequest
Auto Trait Implementations§
impl RefUnwindSafe for GenerateEphemeralCertRequest
impl Send for GenerateEphemeralCertRequest
impl Sync for GenerateEphemeralCertRequest
impl Unpin for GenerateEphemeralCertRequest
impl UnwindSafe for GenerateEphemeralCertRequest
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