pub struct ThreadMetadataGitInfoUpdateParams {
pub branch: Option<String>,
pub origin_url: Option<String>,
pub sha: Option<String>,
}Expand description
ThreadMetadataGitInfoUpdateParams
JSON schema
{
"type": "object",
"properties": {
"branch": {
"description": "Omit to leave the stored branch unchanged, set to `null` to clear it, or provide a non-empty string to replace it.",
"type": [
"string",
"null"
]
},
"originUrl": {
"description": "Omit to leave the stored origin URL unchanged, set to `null` to clear it, or provide a non-empty string to replace it.",
"type": [
"string",
"null"
]
},
"sha": {
"description": "Omit to leave the stored commit unchanged, set to `null` to clear it, or provide a non-empty string to replace it.",
"type": [
"string",
"null"
]
}
}
}Fields§
§branch: Option<String>Omit to leave the stored branch unchanged, set to null to clear it, or provide a non-empty string to replace it.
origin_url: Option<String>Omit to leave the stored origin URL unchanged, set to null to clear it, or provide a non-empty string to replace it.
sha: Option<String>Omit to leave the stored commit unchanged, set to null to clear it, or provide a non-empty string to replace it.
Trait Implementations§
Source§impl Clone for ThreadMetadataGitInfoUpdateParams
impl Clone for ThreadMetadataGitInfoUpdateParams
Source§fn clone(&self) -> ThreadMetadataGitInfoUpdateParams
fn clone(&self) -> ThreadMetadataGitInfoUpdateParams
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 ThreadMetadataGitInfoUpdateParams
impl<'de> Deserialize<'de> for ThreadMetadataGitInfoUpdateParams
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 ThreadMetadataGitInfoUpdateParams
impl RefUnwindSafe for ThreadMetadataGitInfoUpdateParams
impl Send for ThreadMetadataGitInfoUpdateParams
impl Sync for ThreadMetadataGitInfoUpdateParams
impl Unpin for ThreadMetadataGitInfoUpdateParams
impl UnsafeUnpin for ThreadMetadataGitInfoUpdateParams
impl UnwindSafe for ThreadMetadataGitInfoUpdateParams
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