pub struct CreateBranchBody {
pub from_ref: String,
pub name: String,
}Expand description
CreateBranchBody
JSON schema
{
"type": "object",
"required": [
"from_ref",
"name"
],
"properties": {
"from_ref": {
"type": "string"
},
"name": {
"type": "string"
}
}
}Fields§
§from_ref: String§name: StringImplementations§
Source§impl CreateBranchBody
impl CreateBranchBody
pub fn builder() -> CreateBranchBody
Trait Implementations§
Source§impl Clone for CreateBranchBody
impl Clone for CreateBranchBody
Source§fn clone(&self) -> CreateBranchBody
fn clone(&self) -> CreateBranchBody
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 CreateBranchBody
impl Debug for CreateBranchBody
Source§impl<'de> Deserialize<'de> for CreateBranchBody
impl<'de> Deserialize<'de> for CreateBranchBody
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<&CreateBranchBody> for CreateBranchBody
impl From<&CreateBranchBody> for CreateBranchBody
Source§fn from(value: &CreateBranchBody) -> Self
fn from(value: &CreateBranchBody) -> Self
Converts to this type from the input type.
Source§impl From<CreateBranchBody> for CreateBranchBody
impl From<CreateBranchBody> for CreateBranchBody
Source§fn from(value: CreateBranchBody) -> Self
fn from(value: CreateBranchBody) -> Self
Converts to this type from the input type.
Source§impl Serialize for CreateBranchBody
impl Serialize for CreateBranchBody
Source§impl TryFrom<CreateBranchBody> for CreateBranchBody
impl TryFrom<CreateBranchBody> for CreateBranchBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: CreateBranchBody) -> Result<Self, ConversionError>
fn try_from(value: CreateBranchBody) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for CreateBranchBody
impl RefUnwindSafe for CreateBranchBody
impl Send for CreateBranchBody
impl Sync for CreateBranchBody
impl Unpin for CreateBranchBody
impl UnsafeUnpin for CreateBranchBody
impl UnwindSafe for CreateBranchBody
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