pub struct ImageQuery {
pub rev: Option<String>,
}Expand description
Query for the image endpoint: the rev the device already holds (so an
unchanged image returns 304 Not Modified and saves the download).
Fields§
§rev: Option<String>Trait Implementations§
Source§impl Debug for ImageQuery
impl Debug for ImageQuery
Source§impl<'de> Deserialize<'de> for ImageQuery
impl<'de> Deserialize<'de> for ImageQuery
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ImageQuery
impl RefUnwindSafe for ImageQuery
impl Send for ImageQuery
impl Sync for ImageQuery
impl Unpin for ImageQuery
impl UnsafeUnpin for ImageQuery
impl UnwindSafe for ImageQuery
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