#[non_exhaustive]pub struct RemovePublicKeyRequest {
pub environment: String,
pub key: String,
/* private fields */
}
Expand description
Request message for RemovePublicKey.
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.environment: String
Environment this key should be removed from, e.g.
users/me/environments/default
.
key: String
Key that should be removed from the environment.
Implementations§
Trait Implementations§
Source§impl Clone for RemovePublicKeyRequest
impl Clone for RemovePublicKeyRequest
Source§fn clone(&self) -> RemovePublicKeyRequest
fn clone(&self) -> RemovePublicKeyRequest
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 Debug for RemovePublicKeyRequest
impl Debug for RemovePublicKeyRequest
Source§impl Default for RemovePublicKeyRequest
impl Default for RemovePublicKeyRequest
Source§fn default() -> RemovePublicKeyRequest
fn default() -> RemovePublicKeyRequest
Returns the “default value” for a type. Read more
Source§impl Message for RemovePublicKeyRequest
impl Message for RemovePublicKeyRequest
Source§impl PartialEq for RemovePublicKeyRequest
impl PartialEq for RemovePublicKeyRequest
impl StructuralPartialEq for RemovePublicKeyRequest
Auto Trait Implementations§
impl Freeze for RemovePublicKeyRequest
impl RefUnwindSafe for RemovePublicKeyRequest
impl Send for RemovePublicKeyRequest
impl Sync for RemovePublicKeyRequest
impl Unpin for RemovePublicKeyRequest
impl UnwindSafe for RemovePublicKeyRequest
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