#[non_exhaustive]pub enum RefgetLookupResult {
Found {
aliases: Vec<RefgetAlias>,
sha512t24u: String,
circular: bool,
},
NotFound,
Error {
message: String,
},
}Expand description
Result of looking up a single contig in refget.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Found
Metadata was found for this contig.
Fields
§
aliases: Vec<RefgetAlias>Known aliases for this sequence.
NotFound
No metadata found for this digest.
Error
An error occurred during lookup.
Trait Implementations§
Source§impl Clone for RefgetLookupResult
impl Clone for RefgetLookupResult
Source§fn clone(&self) -> RefgetLookupResult
fn clone(&self) -> RefgetLookupResult
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 RefgetLookupResult
impl Debug for RefgetLookupResult
Auto Trait Implementations§
impl Freeze for RefgetLookupResult
impl RefUnwindSafe for RefgetLookupResult
impl Send for RefgetLookupResult
impl Sync for RefgetLookupResult
impl Unpin for RefgetLookupResult
impl UnsafeUnpin for RefgetLookupResult
impl UnwindSafe for RefgetLookupResult
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