#[non_exhaustive]pub struct ModelsQuery {
pub limit: Option<u32>,
pub after_id: Option<String>,
pub before_id: Option<String>,
pub lifecycle: Vec<ModelLifecycle>,
pub extras: Extras,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.limit: Option<u32>§after_id: Option<String>§before_id: Option<String>§lifecycle: Vec<ModelLifecycle>§extras: ExtrasTrait Implementations§
Source§impl Clone for ModelsQuery
impl Clone for ModelsQuery
Source§impl Debug for ModelsQuery
impl Debug for ModelsQuery
Source§impl Default for ModelsQuery
impl Default for ModelsQuery
Source§impl<'de> Deserialize<'de> for ModelsQuery
impl<'de> Deserialize<'de> for ModelsQuery
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 PartialEq for ModelsQuery
impl PartialEq for ModelsQuery
Source§impl Serialize for ModelsQuery
impl Serialize for ModelsQuery
impl StructuralPartialEq for ModelsQuery
Auto Trait Implementations§
impl Forget for ModelsQuery
impl Freeze for ModelsQuerywhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<ModelLifecycle>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, RawJson>>: Freeze,
PhantomData<Bucket<String, Value>>: Freeze,
impl Move for ModelsQuery
impl RefUnwindSafe for ModelsQuery
impl Send for ModelsQuery
impl Sync for ModelsQuery
impl Unpin for ModelsQuery
impl UnsafeUnpin for ModelsQuerywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<ModelLifecycle>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, RawJson>>: UnsafeUnpin,
PhantomData<Bucket<String, Value>>: UnsafeUnpin,
impl UnwindSafe for ModelsQuerywhere
RawVecInner: UnwindSafe,
NonNull<u8>: UnwindSafe,
BoxRaw<RawValue>: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
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