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