pub struct ThreadMetadataUpdateParams {
pub git_info: Option<ThreadMetadataGitInfoUpdateParams>,
pub thread_id: String,
}Expand description
ThreadMetadataUpdateParams
JSON schema
{
"title": "ThreadMetadataUpdateParams",
"type": "object",
"required": [
"threadId"
],
"properties": {
"gitInfo": {
"description": "Patch the stored Git metadata for this thread. Omit a field to leave it unchanged, set it to `null` to clear it, or provide a string to replace the stored value.",
"anyOf": [
{
"$ref": "#/definitions/ThreadMetadataGitInfoUpdateParams"
},
{
"type": "null"
}
]
},
"threadId": {
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Fields§
§git_info: Option<ThreadMetadataGitInfoUpdateParams>Patch the stored Git metadata for this thread. Omit a field to leave it unchanged, set it to null to clear it, or provide a string to replace the stored value.
thread_id: StringTrait Implementations§
Source§impl Clone for ThreadMetadataUpdateParams
impl Clone for ThreadMetadataUpdateParams
Source§fn clone(&self) -> ThreadMetadataUpdateParams
fn clone(&self) -> ThreadMetadataUpdateParams
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 ThreadMetadataUpdateParams
impl Debug for ThreadMetadataUpdateParams
Source§impl<'de> Deserialize<'de> for ThreadMetadataUpdateParams
impl<'de> Deserialize<'de> for ThreadMetadataUpdateParams
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
Auto Trait Implementations§
impl Freeze for ThreadMetadataUpdateParams
impl RefUnwindSafe for ThreadMetadataUpdateParams
impl Send for ThreadMetadataUpdateParams
impl Sync for ThreadMetadataUpdateParams
impl Unpin for ThreadMetadataUpdateParams
impl UnsafeUnpin for ThreadMetadataUpdateParams
impl UnwindSafe for ThreadMetadataUpdateParams
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