pub struct FetchLabels {
pub limit: Option<i64>,
pub since: Option<i64>,
}Fields§
§limit: Option<i64>(default: 50, min: 1, max: 250)
since: Option<i64>Implementations§
Source§impl FetchLabels
impl FetchLabels
Sourcepub fn new() -> FetchLabelsBuilder
pub fn new() -> FetchLabelsBuilder
Create an instance of FetchLabels using the builder syntax
Trait Implementations§
Source§impl Clone for FetchLabels
impl Clone for FetchLabels
Source§fn clone(&self) -> FetchLabels
fn clone(&self) -> FetchLabels
Returns a duplicate of the value. Read more
1.0.0 · 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 FetchLabels
impl Debug for FetchLabels
Source§impl<'de> Deserialize<'de> for FetchLabels
impl<'de> Deserialize<'de> for FetchLabels
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
Source§impl IntoStatic for FetchLabels
impl IntoStatic for FetchLabels
Source§type Output = FetchLabels
type Output = FetchLabels
The “owned” variant of the type. For
Cow<'a, str>, this is Cow<'static, str>, for example.Source§fn into_static(self) -> Self::Output
fn into_static(self) -> Self::Output
Turns the value into an “owned” variant, which can then be returned, moved, etc. Read more
Source§impl PartialEq for FetchLabels
impl PartialEq for FetchLabels
Source§impl Serialize for FetchLabels
impl Serialize for FetchLabels
Source§impl XrpcRequest for FetchLabels
impl XrpcRequest for FetchLabels
Source§const METHOD: XrpcMethod = jacquard_common::types::xrpc::XrpcMethod::Query
const METHOD: XrpcMethod = jacquard_common::types::xrpc::XrpcMethod::Query
XRPC method (query/GET or procedure/POST)
Source§const OUTPUT_ENCODING: &'static str = "application/json"
const OUTPUT_ENCODING: &'static str = "application/json"
Output encoding (MIME type)
Source§type Output<'de> = FetchLabelsOutput<'de>
type Output<'de> = FetchLabelsOutput<'de>
Response output type
Source§type Err<'de> = GenericError<'de>
type Err<'de> = GenericError<'de>
Error type for this request
Source§fn encode_body(&self) -> Result<Vec<u8>, EncodeError>
fn encode_body(&self) -> Result<Vec<u8>, EncodeError>
Encode the request body for procedures. Read more
impl Eq for FetchLabels
impl StructuralPartialEq for FetchLabels
Auto Trait Implementations§
impl Freeze for FetchLabels
impl RefUnwindSafe for FetchLabels
impl Send for FetchLabels
impl Sync for FetchLabels
impl Unpin for FetchLabels
impl UnwindSafe for FetchLabels
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.