pub struct DiscoveredCollection { /* private fields */ }Expand description
Collection found during discovery.
Implementations§
Source§impl DiscoveredCollection
impl DiscoveredCollection
Sourcepub fn new(href: String, id: CollectionId) -> DiscoveredCollection
pub fn new(href: String, id: CollectionId) -> DiscoveredCollection
Create a new instance.
Should only be used when implementing discovery for storage implementations.
Sourcepub fn id(&self) -> &CollectionId
pub fn id(&self) -> &CollectionId
Return the collection id for this collection.
Auto Trait Implementations§
impl Freeze for DiscoveredCollection
impl RefUnwindSafe for DiscoveredCollection
impl Send for DiscoveredCollection
impl Sync for DiscoveredCollection
impl Unpin for DiscoveredCollection
impl UnsafeUnpin for DiscoveredCollection
impl UnwindSafe for DiscoveredCollection
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
type Error = <Target as OctetsFrom<Source>>::Error
Source§fn try_octets_into(
self,
) -> Result<Target, <Source as OctetsInto<Target>>::Error>
fn try_octets_into( self, ) -> Result<Target, <Source as OctetsInto<Target>>::Error>
Performs the conversion.