pub struct CodespacesSecret {
pub name: String,
pub created_at: String,
pub updated_at: String,
pub visibility: Visibility,
pub selected_repositories_url: String,
}
Expand description
CodespacesSecret : Secrets for a GitHub Codespace.
Fields§
§name: String
The name of the secret
created_at: String
The date and time at which the secret was created, in ISO 8601 format’:’ YYYY-MM-DDTHH:MM:SSZ.
updated_at: String
The date and time at which the secret was last updated, in ISO 8601 format’:’ YYYY-MM-DDTHH:MM:SSZ.
visibility: Visibility
The type of repositories in the organization that the secret is visible to
selected_repositories_url: String
The API URL at which the list of repositories this secret is visible to can be retrieved
Implementations§
Source§impl CodespacesSecret
impl CodespacesSecret
Sourcepub fn new(
name: String,
created_at: String,
updated_at: String,
visibility: Visibility,
selected_repositories_url: String,
) -> CodespacesSecret
pub fn new( name: String, created_at: String, updated_at: String, visibility: Visibility, selected_repositories_url: String, ) -> CodespacesSecret
Secrets for a GitHub Codespace.
Trait Implementations§
Source§impl Clone for CodespacesSecret
impl Clone for CodespacesSecret
Source§fn clone(&self) -> CodespacesSecret
fn clone(&self) -> CodespacesSecret
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 CodespacesSecret
impl Debug for CodespacesSecret
Source§impl Default for CodespacesSecret
impl Default for CodespacesSecret
Source§fn default() -> CodespacesSecret
fn default() -> CodespacesSecret
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CodespacesSecret
impl<'de> Deserialize<'de> for CodespacesSecret
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 CodespacesSecret
impl PartialEq for CodespacesSecret
Source§impl Serialize for CodespacesSecret
impl Serialize for CodespacesSecret
impl StructuralPartialEq for CodespacesSecret
Auto Trait Implementations§
impl Freeze for CodespacesSecret
impl RefUnwindSafe for CodespacesSecret
impl Send for CodespacesSecret
impl Sync for CodespacesSecret
impl Unpin for CodespacesSecret
impl UnwindSafe for CodespacesSecret
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