pub struct CodespacesUserPublicKey {
pub key_id: String,
pub key: String,
}
Expand description
CodespacesUserPublicKey : The public key used for setting user Codespaces’ Secrets.
Fields§
§key_id: String
The identifier for the key.
key: String
The Base64 encoded public key.
Implementations§
Source§impl CodespacesUserPublicKey
impl CodespacesUserPublicKey
Sourcepub fn new(key_id: String, key: String) -> CodespacesUserPublicKey
pub fn new(key_id: String, key: String) -> CodespacesUserPublicKey
The public key used for setting user Codespaces’ Secrets.
Trait Implementations§
Source§impl Clone for CodespacesUserPublicKey
impl Clone for CodespacesUserPublicKey
Source§fn clone(&self) -> CodespacesUserPublicKey
fn clone(&self) -> CodespacesUserPublicKey
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 CodespacesUserPublicKey
impl Debug for CodespacesUserPublicKey
Source§impl Default for CodespacesUserPublicKey
impl Default for CodespacesUserPublicKey
Source§fn default() -> CodespacesUserPublicKey
fn default() -> CodespacesUserPublicKey
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CodespacesUserPublicKey
impl<'de> Deserialize<'de> for CodespacesUserPublicKey
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 PartialEq for CodespacesUserPublicKey
impl PartialEq for CodespacesUserPublicKey
Source§impl Serialize for CodespacesUserPublicKey
impl Serialize for CodespacesUserPublicKey
impl StructuralPartialEq for CodespacesUserPublicKey
Auto Trait Implementations§
impl Freeze for CodespacesUserPublicKey
impl RefUnwindSafe for CodespacesUserPublicKey
impl Send for CodespacesUserPublicKey
impl Sync for CodespacesUserPublicKey
impl Unpin for CodespacesUserPublicKey
impl UnwindSafe for CodespacesUserPublicKey
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