pub struct WorktreeProfileRevision(/* private fields */);Implementations§
Source§impl WorktreeProfileRevision
impl WorktreeProfileRevision
pub fn new( value: impl Into<String>, ) -> Result<WorktreeProfileRevision, ManagedWorktreeIdentifierError>
pub fn as_str(&self) -> &str
Trait Implementations§
Source§impl Clone for WorktreeProfileRevision
impl Clone for WorktreeProfileRevision
Source§fn clone(&self) -> WorktreeProfileRevision
fn clone(&self) -> WorktreeProfileRevision
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WorktreeProfileRevision
impl Debug for WorktreeProfileRevision
Source§impl<'de> Deserialize<'de> for WorktreeProfileRevision
impl<'de> Deserialize<'de> for WorktreeProfileRevision
Source§fn deserialize<D>(
deserializer: D,
) -> Result<WorktreeProfileRevision, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<WorktreeProfileRevision, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for WorktreeProfileRevision
impl Display for WorktreeProfileRevision
impl Eq for WorktreeProfileRevision
Source§impl FromStr for WorktreeProfileRevision
impl FromStr for WorktreeProfileRevision
Source§type Err = ManagedWorktreeIdentifierError
type Err = ManagedWorktreeIdentifierError
The associated error which can be returned from parsing.
Source§fn from_str(
value: &str,
) -> Result<WorktreeProfileRevision, <WorktreeProfileRevision as FromStr>::Err>
fn from_str( value: &str, ) -> Result<WorktreeProfileRevision, <WorktreeProfileRevision as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for WorktreeProfileRevision
impl Hash for WorktreeProfileRevision
Source§impl Ord for WorktreeProfileRevision
impl Ord for WorktreeProfileRevision
Source§fn cmp(&self, other: &WorktreeProfileRevision) -> Ordering
fn cmp(&self, other: &WorktreeProfileRevision) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for WorktreeProfileRevision
impl PartialEq for WorktreeProfileRevision
Source§impl PartialOrd for WorktreeProfileRevision
impl PartialOrd for WorktreeProfileRevision
Source§impl Serialize for WorktreeProfileRevision
impl Serialize for WorktreeProfileRevision
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for WorktreeProfileRevision
Auto Trait Implementations§
impl Freeze for WorktreeProfileRevision
impl RefUnwindSafe for WorktreeProfileRevision
impl Send for WorktreeProfileRevision
impl Sync for WorktreeProfileRevision
impl Unpin for WorktreeProfileRevision
impl UnsafeUnpin for WorktreeProfileRevision
impl UnwindSafe for WorktreeProfileRevision
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