pub struct TagCatalog { /* private fields */ }Implementations§
Source§impl TagCatalog
impl TagCatalog
pub fn parse_ls_remote(output: &str) -> Result<Self>
pub fn latest(&self) -> Option<CalendarTag>
pub fn next(&self, today: NaiveDate) -> Result<CalendarTag>
pub fn get(&self, tag: CalendarTag) -> Option<&RemoteTag>
pub fn iter(&self) -> impl Iterator<Item = &RemoteTag>
pub fn unique_release_for_commit( &self, commit: &str, ) -> Result<Option<&RemoteTag>>
Trait Implementations§
Source§impl Clone for TagCatalog
impl Clone for TagCatalog
Source§fn clone(&self) -> TagCatalog
fn clone(&self) -> TagCatalog
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 TagCatalog
impl Debug for TagCatalog
Source§impl Default for TagCatalog
impl Default for TagCatalog
Source§fn default() -> TagCatalog
fn default() -> TagCatalog
Returns the “default value” for a type. Read more
impl Eq for TagCatalog
Source§impl PartialEq for TagCatalog
impl PartialEq for TagCatalog
impl StructuralPartialEq for TagCatalog
Auto Trait Implementations§
impl Freeze for TagCatalog
impl RefUnwindSafe for TagCatalog
impl Send for TagCatalog
impl Sync for TagCatalog
impl Unpin for TagCatalog
impl UnsafeUnpin for TagCatalog
impl UnwindSafe for TagCatalog
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