pub struct UpdateOrganizationSecretSigningKeyInput {
pub secret_id: UpdateOrganizationSecretSigningKeyInputSecretId,
pub signing_public_key: Option<String>,
}Expand description
Request body for updating the signing public key on an organization secret.
JSON schema
{
"title": "UpdateOrganizationSecretSigningKeyInput",
"description": "Request body for updating the signing public key on an
organization secret.",
"allOf": [
{
"$ref": "#/components/schemas/OrganizationSecretIdInput"
},
{
"type": "object",
"properties": {
"signing_public_key": {
"description": "P-256 public key in PEM format, or null to
clear the configured signing key.",
"type": "string"
}
}
}
],
"x-stainless-model":
"organizations.update_organization_secret_signing_key_input"
}Fields§
§secret_id: UpdateOrganizationSecretSigningKeyInputSecretIdThe organization secret ID.
signing_public_key: Option<String>P-256 public key in PEM format, or null to clear the configured signing key.
Trait Implementations§
Source§impl Clone for UpdateOrganizationSecretSigningKeyInput
impl Clone for UpdateOrganizationSecretSigningKeyInput
Source§fn clone(&self) -> UpdateOrganizationSecretSigningKeyInput
fn clone(&self) -> UpdateOrganizationSecretSigningKeyInput
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<'de> Deserialize<'de> for UpdateOrganizationSecretSigningKeyInput
impl<'de> Deserialize<'de> for UpdateOrganizationSecretSigningKeyInput
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<&UpdateOrganizationSecretSigningKeyInput> for UpdateOrganizationSecretSigningKeyInput
impl From<&UpdateOrganizationSecretSigningKeyInput> for UpdateOrganizationSecretSigningKeyInput
Source§fn from(value: &UpdateOrganizationSecretSigningKeyInput) -> Self
fn from(value: &UpdateOrganizationSecretSigningKeyInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UpdateOrganizationSecretSigningKeyInput
impl RefUnwindSafe for UpdateOrganizationSecretSigningKeyInput
impl Send for UpdateOrganizationSecretSigningKeyInput
impl Sync for UpdateOrganizationSecretSigningKeyInput
impl Unpin for UpdateOrganizationSecretSigningKeyInput
impl UnsafeUnpin for UpdateOrganizationSecretSigningKeyInput
impl UnwindSafe for UpdateOrganizationSecretSigningKeyInput
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