pub enum StreamRef {
CommitId(CommitId),
StreamId(StreamId),
}
Variants§
Implementations§
Trait Implementations§
Source§impl StreamRefExt for StreamRef
impl StreamRefExt for StreamRef
Source§fn stream_type(&self) -> StreamType
fn stream_type(&self) -> StreamType
Get the
StreamType
.Source§fn to_base_id(&self) -> StreamId
fn to_base_id(&self) -> StreamId
Get the
StreamId
without the commit.Source§fn to_base36_string(&self) -> String
fn to_base36_string(&self) -> String
Encode the
StreamRef
into a string.impl Eq for StreamRef
impl StructuralPartialEq for StreamRef
Auto Trait Implementations§
impl Freeze for StreamRef
impl RefUnwindSafe for StreamRef
impl Send for StreamRef
impl Sync for StreamRef
impl Unpin for StreamRef
impl UnwindSafe for StreamRef
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