pub enum PostFilter {
Show 17 variants
IsAsync(bool),
IsUnsafe(bool),
Visibility(Visibility),
Receiver(ReceiverKind),
Attributes(Vec<String>),
Generics(GenericsMatch),
PathInclude(String),
PathExclude(String),
PatternSearch(String),
OnEmpty,
ReturnType(String),
ParamType(String),
FieldType(String),
Parent(Pattern),
SymbolId(String),
BodyMatch(BodyMatch),
Relations(Relations),
}Expand description
後処理フィルタ
DiscoveryQueryでは表現できない条件。 Executorで結果に対して後処理を行う。
Variants§
IsAsync(bool)
async関数フィルタ
IsUnsafe(bool)
unsafe関数フィルタ
Visibility(Visibility)
可視性フィルタ
Receiver(ReceiverKind)
レシーバーフィルタ
Attributes(Vec<String>)
アトリビュートフィルタ
Generics(GenericsMatch)
ジェネリクスフィルタ
PathInclude(String)
パスincludeフィルタ
PathExclude(String)
パスexcludeフィルタ
PatternSearch(String)
パターン検索
OnEmpty
on_emptyリカバリー(executor処理)
ReturnType(String)
戻り値型フィルタ (inner: ReturnType)
ParamType(String)
パラメータ型フィルタ (inner: Parameter)
FieldType(String)
フィールド型フィルタ (inner: Field)
Parent(Pattern)
親シンボルフィルタ (Variant, Field, Method用)
SymbolId(String)
SymbolId直接指定フィルタ
BodyMatch(BodyMatch)
Body パターンマッチフィルタ
Relations(Relations)
Relations フィルタ (any/all/none)
Trait Implementations§
Source§impl Clone for PostFilter
impl Clone for PostFilter
Source§fn clone(&self) -> PostFilter
fn clone(&self) -> PostFilter
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 moreAuto Trait Implementations§
impl Freeze for PostFilter
impl RefUnwindSafe for PostFilter
impl Send for PostFilter
impl Sync for PostFilter
impl Unpin for PostFilter
impl UnsafeUnpin for PostFilter
impl UnwindSafe for PostFilter
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<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