Struct SecretPutRequest
pub struct SecretPutRequest {
pub id: Uuid,
pub organization_id: Uuid,
pub key: String,
pub value: String,
pub note: String,
pub project_ids: Option<Vec<Uuid>>,
}
Fields§
§id: Uuid
ID of the secret to modify
organization_id: Uuid
Organization ID of the secret to modify
key: String
§value: String
§note: String
§project_ids: Option<Vec<Uuid>>
Trait Implementations§
§impl Debug for SecretPutRequest
impl Debug for SecretPutRequest
§impl<'de> Deserialize<'de> for SecretPutRequest
impl<'de> Deserialize<'de> for SecretPutRequest
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SecretPutRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SecretPutRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl JsonSchema for SecretPutRequest
impl JsonSchema for SecretPutRequest
§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read more§impl Serialize for SecretPutRequest
impl Serialize for SecretPutRequest
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
§impl<'v_a> ValidateArgs<'v_a> for SecretPutRequest
impl<'v_a> ValidateArgs<'v_a> for SecretPutRequest
type Args = ()
fn validate_with_args( &self, args: <SecretPutRequest as ValidateArgs<'v_a>>::Args, ) -> Result<(), ValidationErrors>
Auto Trait Implementations§
impl Freeze for SecretPutRequest
impl RefUnwindSafe for SecretPutRequest
impl Send for SecretPutRequest
impl Sync for SecretPutRequest
impl Unpin for SecretPutRequest
impl UnwindSafe for SecretPutRequest
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more