pub struct RecordQuery {
pub kinds: Vec<RecordKind>,
pub extension: Option<String>,
pub include_inactive: bool,
pub limit: Option<usize>,
pub offset: usize,
}Expand description
Filter for listing records. Text search is an application concern.
Fields§
§kinds: Vec<RecordKind>Only these kinds (empty = all kinds).
extension: Option<String>Only records carrying this extension namespace.
include_inactive: boolInclude retracted and superseded records.
limit: Option<usize>§offset: usizeImplementations§
Source§impl RecordQuery
impl RecordQuery
pub fn kind(kind: RecordKind) -> Self
Trait Implementations§
Source§impl Clone for RecordQuery
impl Clone for RecordQuery
Source§fn clone(&self) -> RecordQuery
fn clone(&self) -> RecordQuery
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 RecordQuery
impl Debug for RecordQuery
Source§impl Default for RecordQuery
impl Default for RecordQuery
Source§fn default() -> RecordQuery
fn default() -> RecordQuery
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RecordQuery
impl RefUnwindSafe for RecordQuery
impl Send for RecordQuery
impl Sync for RecordQuery
impl Unpin for RecordQuery
impl UnsafeUnpin for RecordQuery
impl UnwindSafe for RecordQuery
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