pub struct ParentBranchNameOwned(pub Vec<u8>);
Tuple Fields§
§0: Vec<u8>
Implementations§
Source§impl ParentBranchNameOwned
impl ParentBranchNameOwned
pub fn as_deref(&self) -> ParentBranchName<'_>
Trait Implementations§
Source§impl Clone for ParentBranchNameOwned
impl Clone for ParentBranchNameOwned
Source§fn clone(&self) -> ParentBranchNameOwned
fn clone(&self) -> ParentBranchNameOwned
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 ParentBranchNameOwned
impl Debug for ParentBranchNameOwned
Source§impl Default for ParentBranchNameOwned
impl Default for ParentBranchNameOwned
Source§fn default() -> ParentBranchNameOwned
fn default() -> ParentBranchNameOwned
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ParentBranchNameOwned
impl<'de> Deserialize<'de> for ParentBranchNameOwned
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<'a> From<&'a ParentBranchNameOwned> for ParentBranchName<'a>
impl<'a> From<&'a ParentBranchNameOwned> for ParentBranchName<'a>
Source§fn from(b: &'a ParentBranchNameOwned) -> Self
fn from(b: &'a ParentBranchNameOwned) -> Self
Converts to this type from the input type.
Source§impl From<ParentBranchName<'_>> for ParentBranchNameOwned
impl From<ParentBranchName<'_>> for ParentBranchNameOwned
Source§fn from(b: ParentBranchName<'_>) -> Self
fn from(b: ParentBranchName<'_>) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ParentBranchNameOwned
impl PartialEq for ParentBranchNameOwned
Source§impl Serialize for ParentBranchNameOwned
impl Serialize for ParentBranchNameOwned
impl Eq for ParentBranchNameOwned
impl StructuralPartialEq for ParentBranchNameOwned
Auto Trait Implementations§
impl Freeze for ParentBranchNameOwned
impl RefUnwindSafe for ParentBranchNameOwned
impl Send for ParentBranchNameOwned
impl Sync for ParentBranchNameOwned
impl Unpin for ParentBranchNameOwned
impl UnwindSafe for ParentBranchNameOwned
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