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