pub struct Certificate {
pub object: String,
pub id: String,
pub name: String,
pub created_at: u64,
pub certificate_details: CertificateDetails,
pub active: Option<bool>,
}Expand description
Represents an individual certificate uploaded to the organization.
Fields§
§object: StringThe object type. Can be certificate, organization.certificate, or organization.project.certificate.
id: StringThe identifier, which can be referenced in API endpoints.
name: StringThe name of the certificate.
created_at: u64The Unix timestamp (in seconds) of when the certificate was uploaded.
certificate_details: CertificateDetailsDetails about the certificate.
active: Option<bool>Whether the certificate is currently active at the specified scope. Not returned when getting details for a specific certificate.
Trait Implementations§
Source§impl Clone for Certificate
impl Clone for Certificate
Source§fn clone(&self) -> Certificate
fn clone(&self) -> Certificate
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 Certificate
impl Debug for Certificate
Source§impl<'de> Deserialize<'de> for Certificate
impl<'de> Deserialize<'de> for Certificate
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 Certificate
impl PartialEq for Certificate
Source§impl Serialize for Certificate
impl Serialize for Certificate
impl StructuralPartialEq for Certificate
Auto Trait Implementations§
impl Freeze for Certificate
impl RefUnwindSafe for Certificate
impl Send for Certificate
impl Sync for Certificate
impl Unpin for Certificate
impl UnwindSafe for Certificate
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