pub struct ListedResource {
pub details: ItemDetails,
pub href: String,
pub status: Option<StatusCode>,
}
Expand description
Metadata for a resource.
This type is returned when listing resources. It contains metadata on resources but no the resource data itself.
Fields§
§details: ItemDetails
§href: String
This value is not URL-encoded.
status: Option<StatusCode>
Status code for this resource, as returned by the server.
Trait Implementations§
source§impl Debug for ListedResource
impl Debug for ListedResource
source§impl PartialEq for ListedResource
impl PartialEq for ListedResource
impl StructuralPartialEq for ListedResource
Auto Trait Implementations§
impl Freeze for ListedResource
impl RefUnwindSafe for ListedResource
impl Send for ListedResource
impl Sync for ListedResource
impl Unpin for ListedResource
impl UnwindSafe for ListedResource
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.
source§fn octets_into(self) -> Target
fn octets_into(self) -> Target
Performs an infallible conversion.