#[non_exhaustive]pub struct SslCertsCreateEphemeralRequest {
pub public_key: String,
pub access_token: String,
/* private fields */
}
Expand description
SslCerts create ephemeral certificate request.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.public_key: String
PEM encoded public key to include in the signed certificate.
access_token: String
Access token to include in the signed certificate.
Implementations§
Source§impl SslCertsCreateEphemeralRequest
impl SslCertsCreateEphemeralRequest
pub fn new() -> Self
Sourcepub fn set_public_key<T: Into<String>>(self, v: T) -> Self
pub fn set_public_key<T: Into<String>>(self, v: T) -> Self
Sets the value of public_key.
Sourcepub fn set_access_token<T: Into<String>>(self, v: T) -> Self
pub fn set_access_token<T: Into<String>>(self, v: T) -> Self
Sets the value of access_token.
Trait Implementations§
Source§impl Clone for SslCertsCreateEphemeralRequest
impl Clone for SslCertsCreateEphemeralRequest
Source§fn clone(&self) -> SslCertsCreateEphemeralRequest
fn clone(&self) -> SslCertsCreateEphemeralRequest
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 Default for SslCertsCreateEphemeralRequest
impl Default for SslCertsCreateEphemeralRequest
Source§fn default() -> SslCertsCreateEphemeralRequest
fn default() -> SslCertsCreateEphemeralRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for SslCertsCreateEphemeralRequest
impl PartialEq for SslCertsCreateEphemeralRequest
Source§fn eq(&self, other: &SslCertsCreateEphemeralRequest) -> bool
fn eq(&self, other: &SslCertsCreateEphemeralRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SslCertsCreateEphemeralRequest
Auto Trait Implementations§
impl Freeze for SslCertsCreateEphemeralRequest
impl RefUnwindSafe for SslCertsCreateEphemeralRequest
impl Send for SslCertsCreateEphemeralRequest
impl Sync for SslCertsCreateEphemeralRequest
impl Unpin for SslCertsCreateEphemeralRequest
impl UnwindSafe for SslCertsCreateEphemeralRequest
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