#[non_exhaustive]pub struct MpdValidators {
pub etag: Option<String>,
pub last_modified: Option<String>,
}Expand description
The validators of the MPD the client holds; send them as If-None-Match
and If-Modified-Since so an unchanged MPD answers 304 (IOP 4.4.4).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.etag: Option<String>The last ETag.
last_modified: Option<String>The last Last-Modified.
Trait Implementations§
Source§impl Clone for MpdValidators
impl Clone for MpdValidators
Source§impl Debug for MpdValidators
impl Debug for MpdValidators
Source§impl Default for MpdValidators
impl Default for MpdValidators
impl Eq for MpdValidators
Source§impl PartialEq for MpdValidators
impl PartialEq for MpdValidators
impl StructuralPartialEq for MpdValidators
Auto Trait Implementations§
impl Freeze for MpdValidators
impl RefUnwindSafe for MpdValidators
impl Send for MpdValidators
impl Sync for MpdValidators
impl Unpin for MpdValidators
impl UnsafeUnpin for MpdValidators
impl UnwindSafe for MpdValidators
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