pub struct GitMetadataResponse {
pub commit_message: Option<String>,
pub commit_ref: Option<String>,
pub commit_sha: Option<String>,
}Expand description
GitMetadataResponse
JSON schema
{
"type": "object",
"properties": {
"commitMessage": {
"type": [
"string",
"null"
]
},
"commitRef": {
"type": [
"string",
"null"
]
},
"commitSha": {
"type": [
"string",
"null"
]
}
}
}Fields§
§commit_message: Option<String>§commit_ref: Option<String>§commit_sha: Option<String>Implementations§
Source§impl GitMetadataResponse
impl GitMetadataResponse
pub fn builder() -> GitMetadataResponse
Trait Implementations§
Source§impl Clone for GitMetadataResponse
impl Clone for GitMetadataResponse
Source§fn clone(&self) -> GitMetadataResponse
fn clone(&self) -> GitMetadataResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 GitMetadataResponse
impl Debug for GitMetadataResponse
Source§impl Default for GitMetadataResponse
impl Default for GitMetadataResponse
Source§impl<'de> Deserialize<'de> for GitMetadataResponse
impl<'de> Deserialize<'de> for GitMetadataResponse
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<&GitMetadataResponse> for GitMetadataResponse
impl From<&GitMetadataResponse> for GitMetadataResponse
Source§fn from(value: &GitMetadataResponse) -> Self
fn from(value: &GitMetadataResponse) -> Self
Converts to this type from the input type.
Source§impl From<GitMetadataResponse> for GitMetadataResponse
impl From<GitMetadataResponse> for GitMetadataResponse
Source§fn from(value: GitMetadataResponse) -> Self
fn from(value: GitMetadataResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for GitMetadataResponse
impl Serialize for GitMetadataResponse
Source§impl TryFrom<GitMetadataResponse> for GitMetadataResponse
impl TryFrom<GitMetadataResponse> for GitMetadataResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: GitMetadataResponse) -> Result<Self, ConversionError>
fn try_from(value: GitMetadataResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for GitMetadataResponse
impl RefUnwindSafe for GitMetadataResponse
impl Send for GitMetadataResponse
impl Sync for GitMetadataResponse
impl Unpin for GitMetadataResponse
impl UnsafeUnpin for GitMetadataResponse
impl UnwindSafe for GitMetadataResponse
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