pub struct BlobListParams {
pub scope: Option<String>,
pub hash: Option<String>,
pub limit: Option<usize>,
pub offset: Option<usize>,
pub counts_only: bool,
}Expand description
Params of Request::BlobList (#84b). ALL optional — blob_list {} still works, which
matters because the verb took no params before api_minor 20.
A DEFAULT LIMIT applies when limit is absent. Deliberate: unpaged, blob_list renders every
scope into one frame against the 16 MiB cap; past it the CLIENT rejects the frame as malformed.
The control surface carries no strike bound, so the connection survives — but the caller gets an
opaque failure with no way to page, which is unusable rather than merely large.
Fields§
§scope: Option<String>EXACT scope name, never a prefix.
hash: Option<String>Only scopes containing this hash; the rendering you send is normalized first.
limit: Option<usize>§offset: Option<usize>§counts_only: boolOmit hashes/grants/withdrawn, keep the counts.
Trait Implementations§
Source§impl Clone for BlobListParams
impl Clone for BlobListParams
Source§fn clone(&self) -> BlobListParams
fn clone(&self) -> BlobListParams
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 BlobListParams
impl Debug for BlobListParams
Source§impl Default for BlobListParams
impl Default for BlobListParams
Source§fn default() -> BlobListParams
fn default() -> BlobListParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BlobListParamswhere
BlobListParams: Default,
impl<'de> Deserialize<'de> for BlobListParamswhere
BlobListParams: Default,
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
impl Eq for BlobListParams
Source§impl PartialEq for BlobListParams
impl PartialEq for BlobListParams
Source§impl Serialize for BlobListParams
impl Serialize for BlobListParams
impl StructuralPartialEq for BlobListParams
Auto Trait Implementations§
impl Freeze for BlobListParams
impl RefUnwindSafe for BlobListParams
impl Send for BlobListParams
impl Sync for BlobListParams
impl Unpin for BlobListParams
impl UnsafeUnpin for BlobListParams
impl UnwindSafe for BlobListParams
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