pub struct CreateBranch(pub BranchCreate);Expand description
Create one direct local branch without descriptor transfer.
Tuple Fields§
§0: BranchCreateTrait Implementations§
Source§impl Clone for CreateBranch
impl Clone for CreateBranch
Source§impl CompatibleControlRequest for CreateBranch
impl CompatibleControlRequest for CreateBranch
Source§fn min_generation(&self) -> u8
fn min_generation(&self) -> u8
First framed-control generation that defines this operation.
Source§fn compatibility_json_bytes(&self) -> ControlClientResult<Zeroizing<Vec<u8>>>
fn compatibility_json_bytes(&self) -> ControlClientResult<Zeroizing<Vec<u8>>>
Encode the exact historical JSON request without a trailing newline.
Source§fn decode_compatibility_json(
&self,
reply: JsonReply,
) -> ControlClientResult<Self::Response>
fn decode_compatibility_json( &self, reply: JsonReply, ) -> ControlClientResult<Self::Response>
Decode the actual historical JSON response.
Source§impl Debug for CreateBranch
impl Debug for CreateBranch
Source§impl Request<ControlProtocol> for CreateBranch
impl Request<ControlProtocol> for CreateBranch
Source§type Response = BranchResult
type Response = BranchResult
Checked operation result, independent of SDK domain behavior.
Source§type Error = ControlClientError
type Error = ControlClientError
Application error that can also retain a local transport failure.
Source§fn message(&self) -> ControlClientResult<EncodedMessage>
fn message(&self) -> ControlClientResult<EncodedMessage>
Encode the prepared request without performing I/O.
Auto Trait Implementations§
impl Freeze for CreateBranch
impl RefUnwindSafe for CreateBranch
impl Send for CreateBranch
impl Sync for CreateBranch
impl Unpin for CreateBranch
impl UnsafeUnpin for CreateBranch
impl UnwindSafe for CreateBranch
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