pub struct StrongEntityTag { /* private fields */ }Implementations§
Source§impl StrongEntityTag
impl StrongEntityTag
pub fn for_resource( resource: &str, id: &str, revision: u64, ) -> Result<Self, EntityTagError>
pub fn from_opaque(opaque: impl Into<String>) -> Result<Self, EntityTagError>
pub fn opaque(&self) -> &str
pub fn to_header_value(&self) -> HeaderValue
pub fn resource_revision( &self, resource: &str, id: &str, ) -> Result<u64, EntityTagError>
Trait Implementations§
Source§impl Clone for StrongEntityTag
impl Clone for StrongEntityTag
Source§fn clone(&self) -> StrongEntityTag
fn clone(&self) -> StrongEntityTag
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 StrongEntityTag
impl Debug for StrongEntityTag
impl Eq for StrongEntityTag
Source§impl PartialEq for StrongEntityTag
impl PartialEq for StrongEntityTag
impl StructuralPartialEq for StrongEntityTag
Auto Trait Implementations§
impl !Freeze for StrongEntityTag
impl RefUnwindSafe for StrongEntityTag
impl Send for StrongEntityTag
impl Sync for StrongEntityTag
impl Unpin for StrongEntityTag
impl UnsafeUnpin for StrongEntityTag
impl UnwindSafe for StrongEntityTag
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