pub struct PatchClientMetadata {
pub description: Option<String>,
pub tags: Option<Vec<String>>,
}Expand description
Client-generated metadata as supplied in a PATCH request body: the
field-by-field patch form of ClientMetadata.
Each field is optional. A Some value overwrites the stored field; a
None (absent) field leaves it unchanged. An empty string or empty list is
a value in its own right, not a request to unset the field.
JSON schema
{
"description": "Client-generated metadata as supplied in a `PATCH` request body: the\nfield-by-field patch form of [`ClientMetadata`].\n\nEach field is optional. A `Some` value overwrites the stored field; a\n`None` (absent) field leaves it unchanged. An empty string or empty list is\na value in its own right, not a request to unset the field.",
"type": "object",
"properties": {
"description": {
"description": "Human-readable description of the pipeline.",
"type": [
"string",
"null"
]
},
"tags": {
"description": "Free-form labels used to organize, group, and filter pipelines.",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
}
}
}Fields§
§description: Option<String>Human-readable description of the pipeline.
Free-form labels used to organize, group, and filter pipelines.
Implementations§
Source§impl PatchClientMetadata
impl PatchClientMetadata
pub fn builder() -> PatchClientMetadata
Trait Implementations§
Source§impl Clone for PatchClientMetadata
impl Clone for PatchClientMetadata
Source§fn clone(&self) -> PatchClientMetadata
fn clone(&self) -> PatchClientMetadata
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 PatchClientMetadata
impl Debug for PatchClientMetadata
Source§impl Default for PatchClientMetadata
impl Default for PatchClientMetadata
Source§impl<'de> Deserialize<'de> for PatchClientMetadata
impl<'de> Deserialize<'de> for PatchClientMetadata
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<&PatchClientMetadata> for PatchClientMetadata
impl From<&PatchClientMetadata> for PatchClientMetadata
Source§fn from(value: &PatchClientMetadata) -> Self
fn from(value: &PatchClientMetadata) -> Self
Converts to this type from the input type.
Source§impl From<PatchClientMetadata> for PatchClientMetadata
impl From<PatchClientMetadata> for PatchClientMetadata
Source§fn from(value: PatchClientMetadata) -> Self
fn from(value: PatchClientMetadata) -> Self
Converts to this type from the input type.
Source§impl Serialize for PatchClientMetadata
impl Serialize for PatchClientMetadata
Source§impl TryFrom<PatchClientMetadata> for PatchClientMetadata
impl TryFrom<PatchClientMetadata> for PatchClientMetadata
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: PatchClientMetadata) -> Result<Self, ConversionError>
fn try_from(value: PatchClientMetadata) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PatchClientMetadata
impl RefUnwindSafe for PatchClientMetadata
impl Send for PatchClientMetadata
impl Sync for PatchClientMetadata
impl Unpin for PatchClientMetadata
impl UnsafeUnpin for PatchClientMetadata
impl UnwindSafe for PatchClientMetadata
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