pub struct StatusEventBranchesItem {
pub commit: StatusEventBranchesItemCommit,
pub name: String,
pub protected: bool,
}
Expand description
StatusEventBranchesItem
JSON schema
{
"type": "object",
"required": [
"commit",
"name",
"protected"
],
"properties": {
"commit": {
"type": "object",
"required": [
"sha",
"url"
],
"properties": {
"sha": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
}
},
"additionalProperties": false
},
"name": {
"type": "string"
},
"protected": {
"type": "boolean"
}
},
"additionalProperties": false
}
Fields§
§commit: StatusEventBranchesItemCommit
§name: String
§protected: bool
Implementations§
Source§impl StatusEventBranchesItem
impl StatusEventBranchesItem
pub fn builder() -> StatusEventBranchesItem
Trait Implementations§
Source§impl Clone for StatusEventBranchesItem
impl Clone for StatusEventBranchesItem
Source§fn clone(&self) -> StatusEventBranchesItem
fn clone(&self) -> StatusEventBranchesItem
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 StatusEventBranchesItem
impl Debug for StatusEventBranchesItem
Source§impl<'de> Deserialize<'de> for StatusEventBranchesItem
impl<'de> Deserialize<'de> for StatusEventBranchesItem
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<&StatusEventBranchesItem> for StatusEventBranchesItem
impl From<&StatusEventBranchesItem> for StatusEventBranchesItem
Source§fn from(value: &StatusEventBranchesItem) -> Self
fn from(value: &StatusEventBranchesItem) -> Self
Converts to this type from the input type.
Source§impl From<StatusEventBranchesItem> for StatusEventBranchesItem
impl From<StatusEventBranchesItem> for StatusEventBranchesItem
Source§fn from(value: StatusEventBranchesItem) -> Self
fn from(value: StatusEventBranchesItem) -> Self
Converts to this type from the input type.
Source§impl Serialize for StatusEventBranchesItem
impl Serialize for StatusEventBranchesItem
Auto Trait Implementations§
impl Freeze for StatusEventBranchesItem
impl RefUnwindSafe for StatusEventBranchesItem
impl Send for StatusEventBranchesItem
impl Sync for StatusEventBranchesItem
impl Unpin for StatusEventBranchesItem
impl UnwindSafe for StatusEventBranchesItem
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