pub struct ListQuery {
pub path: String,
pub recursive: bool,
pub hash: Option<String>,
pub cursor: Option<String>,
pub limit: Option<usize>,
}Expand description
Query parameters for list.
Fields§
§path: String§recursive: bool§hash: Option<String>Only sha256 is understood; anything else is ignored.
cursor: Option<String>Resume point: the opaque token from the previous page’s next_cursor.
Echo it back verbatim. It is not a path, and a hand-built value is
refused with 400 bad-cursor.
limit: Option<usize>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ListQuery
impl<'de> Deserialize<'de> for ListQuery
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 ListQuery
impl RefUnwindSafe for ListQuery
impl Send for ListQuery
impl Sync for ListQuery
impl Unpin for ListQuery
impl UnsafeUnpin for ListQuery
impl UnwindSafe for ListQuery
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