Struct PackagesFilter
pub struct PackagesFilter {Show 20 fields
pub count: Option<i32>,
pub sort_by: Option<SearchOrderSort>,
pub curated: Option<bool>,
pub publish_date: Option<SearchPublishDate>,
pub has_bindings: Option<bool>,
pub is_standalone: Option<bool>,
pub has_commands: Option<bool>,
pub with_interfaces: Option<Vec<Option<String>>>,
pub deployable: Option<bool>,
pub license: Option<String>,
pub created_after: Option<DateTime>,
pub created_before: Option<DateTime>,
pub last_published_after: Option<DateTime>,
pub last_published_before: Option<DateTime>,
pub size: Option<CountFilter>,
pub downloads: Option<CountFilter>,
pub likes: Option<CountFilter>,
pub owner: Option<String>,
pub published_by: Option<String>,
pub order_by: Option<PackageOrderBy>,
}Expand description
Filters for search_packages.
Fields§
§count: Option<i32>§sort_by: Option<SearchOrderSort>§curated: Option<bool>§publish_date: Option<SearchPublishDate>§has_bindings: Option<bool>§is_standalone: Option<bool>§has_commands: Option<bool>§with_interfaces: Option<Vec<Option<String>>>§deployable: Option<bool>§license: Option<String>§created_after: Option<DateTime>§created_before: Option<DateTime>§last_published_after: Option<DateTime>§last_published_before: Option<DateTime>§size: Option<CountFilter>§downloads: Option<CountFilter>§likes: Option<CountFilter>§owner: Option<String>§published_by: Option<String>§order_by: Option<PackageOrderBy>Trait Implementations§
§impl Clone for PackagesFilter
impl Clone for PackagesFilter
§fn clone(&self) -> PackagesFilter
fn clone(&self) -> PackagesFilter
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 more§impl Debug for PackagesFilter
impl Debug for PackagesFilter
§impl Default for PackagesFilter
impl Default for PackagesFilter
§fn default() -> PackagesFilter
fn default() -> PackagesFilter
Returns the “default value” for a type. Read more
§impl InputObject for PackagesFilter
impl InputObject for PackagesFilter
§type SchemaType = PackagesFilter
type SchemaType = PackagesFilter
The input object in the schema that this type represents.
§impl Serialize for PackagesFilter
impl Serialize for PackagesFilter
§fn serialize<__S>(
&self,
serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl CoercesTo<Option<Option<PackagesFilter>>> for PackagesFilter
impl CoercesTo<Option<PackagesFilter>> for PackagesFilter
impl CoercesTo<Option<Vec<Option<PackagesFilter>>>> for PackagesFilter
impl CoercesTo<Option<Vec<PackagesFilter>>> for PackagesFilter
impl CoercesTo<PackagesFilter> for PackagesFilter
impl CoercesTo<Vec<PackagesFilter>> for PackagesFilter
impl CoercesTo<Vec<Vec<PackagesFilter>>> for PackagesFilter
Auto Trait Implementations§
impl Freeze for PackagesFilter
impl RefUnwindSafe for PackagesFilter
impl Send for PackagesFilter
impl Sync for PackagesFilter
impl Unpin for PackagesFilter
impl UnwindSafe for PackagesFilter
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.