pub struct OrganizationSecretView {
pub created_at: String,
pub id: String,
pub last_four: String,
pub revoked_at: Option<String>,
pub signing_public_key: Option<String>,
}Expand description
View of an organization secret for list and management endpoints.
JSON schema
{
"title": "OrganizationSecretView",
"description": "View of an organization secret for list and management
endpoints.",
"type": "object",
"required": [
"created_at",
"id",
"last_four"
],
"properties": {
"created_at": {
"description": "ISO 8601 creation timestamp",
"type": "string"
},
"id": {
"description": "Unique secret identifier",
"type": "string"
},
"last_four": {
"description": "Last four characters of the secret",
"type": "string"
},
"revoked_at": {
"description": "ISO 8601 revocation timestamp, or null if active",
"type": "string"
},
"signing_public_key": {
"description": "P-256 public key in PEM format for request signing,
or null if not configured",
"type": "string"
}
},
"x-stainless-model": "organizations.organization_secret_view"
}Fields§
§created_at: StringISO 8601 creation timestamp
id: StringUnique secret identifier
last_four: StringLast four characters of the secret
revoked_at: Option<String>ISO 8601 revocation timestamp, or null if active
signing_public_key: Option<String>P-256 public key in PEM format for request signing, or null if not configured
Trait Implementations§
Source§impl Clone for OrganizationSecretView
impl Clone for OrganizationSecretView
Source§fn clone(&self) -> OrganizationSecretView
fn clone(&self) -> OrganizationSecretView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OrganizationSecretView
impl Debug for OrganizationSecretView
Source§impl<'de> Deserialize<'de> for OrganizationSecretView
impl<'de> Deserialize<'de> for OrganizationSecretView
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 From<&OrganizationSecretView> for OrganizationSecretView
impl From<&OrganizationSecretView> for OrganizationSecretView
Source§fn from(value: &OrganizationSecretView) -> Self
fn from(value: &OrganizationSecretView) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OrganizationSecretView
impl RefUnwindSafe for OrganizationSecretView
impl Send for OrganizationSecretView
impl Sync for OrganizationSecretView
impl Unpin for OrganizationSecretView
impl UnsafeUnpin for OrganizationSecretView
impl UnwindSafe for OrganizationSecretView
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