#[repr(i64)]pub enum RuleTypeEnum {
Show 48 variants
TitleContains = 0,
ContentContains = 1,
AsnIs = 2,
CorrespondentIs = 3,
DocumentTypeIs = 4,
IsInInbox = 5,
HasTag = 6,
HasAnyTag = 7,
CreatedBefore = 8,
CreatedAfter = 9,
CreatedYearIs = 10,
CreatedMonthIs = 11,
CreatedDayIs = 12,
AddedBefore = 13,
AddedAfter = 14,
ModifiedBefore = 15,
ModifiedAfter = 16,
DoesNotHaveTag = 17,
DoesNotHaveASN = 18,
TitleOrContentContains = 19,
FulltextQuery = 20,
MoreLikeThis = 21,
HasTagsIn = 22,
AsnGreaterThan = 23,
AsnLessThan = 24,
StoragePathIs = 25,
HasCorrespondentIn = 26,
DoesNotHaveCorrespondentIn = 27,
HasDocumentTypeIn = 28,
DoesNotHaveDocumentTypeIn = 29,
HasStoragePathIn = 30,
DoesNotHaveStoragePathIn = 31,
OwnerIs = 32,
HasOwnerIn = 33,
DoesNotHaveOwner = 34,
DoesNotHaveOwnerIn = 35,
HasCustomFieldValue = 36,
IsSharedByMe = 37,
HasCustomFields = 38,
HasCustomFieldIn = 39,
DoesNotHaveCustomFieldIn = 40,
DoesNotHaveCustomField = 41,
CustomFieldsQuery = 42,
CreatedTo = 43,
CreatedFrom = 44,
AddedTo = 45,
AddedFrom = 46,
MimeTypeIs = 47,
}Expand description
0- title contains1- content contains2- ASN is3- correspondent is4- document type is5- is in inbox6- has tag7- has any tag8- created before9- created after10- created year is11- created month is12- created day is13- added before14- added after15- modified before16- modified after17- does not have tag18- does not have ASN19- title or content contains20- fulltext query21- more like this22- has tags in23- ASN greater than24- ASN less than25- storage path is26- has correspondent in27- does not have correspondent in28- has document type in29- does not have document type in30- has storage path in31- does not have storage path in32- owner is33- has owner in34- does not have owner35- does not have owner in36- has custom field value37- is shared by me38- has custom fields39- has custom field in40- does not have custom field in41- does not have custom field42- custom fields query43- created to44- created from45- added to46- added from47- mime type is
Variants§
TitleContains = 0
title contains
ContentContains = 1
content contains
AsnIs = 2
ASN is
CorrespondentIs = 3
correspondent is
DocumentTypeIs = 4
document type is
IsInInbox = 5
is in inbox
HasTag = 6
has tag
HasAnyTag = 7
has any tag
CreatedBefore = 8
created before
CreatedAfter = 9
created after
CreatedYearIs = 10
created year is
CreatedMonthIs = 11
created month is
CreatedDayIs = 12
created day is
AddedBefore = 13
added before
AddedAfter = 14
added after
ModifiedBefore = 15
modified before
ModifiedAfter = 16
modified after
DoesNotHaveTag = 17
does not have tag
DoesNotHaveASN = 18
does not have ASN
TitleOrContentContains = 19
title or content contains
FulltextQuery = 20
fulltext query
MoreLikeThis = 21
more like this
HasTagsIn = 22
has tags in
AsnGreaterThan = 23
ASN greater than
AsnLessThan = 24
ASN less than
StoragePathIs = 25
storage path is
HasCorrespondentIn = 26
has correspondent in
DoesNotHaveCorrespondentIn = 27
does not have correspondent in
HasDocumentTypeIn = 28
has document type in
DoesNotHaveDocumentTypeIn = 29
does not have document type in
HasStoragePathIn = 30
has storage path in
DoesNotHaveStoragePathIn = 31
does not have storage path in
OwnerIs = 32
owner is
HasOwnerIn = 33
has owner in
DoesNotHaveOwner = 34
does not have owner
DoesNotHaveOwnerIn = 35
does not have owner in
HasCustomFieldValue = 36
has custom field value
is shared by me
HasCustomFields = 38
has custom fields
HasCustomFieldIn = 39
has custom field in
DoesNotHaveCustomFieldIn = 40
does not have custom field in
DoesNotHaveCustomField = 41
does not have custom field
CustomFieldsQuery = 42
custom fields query
CreatedTo = 43
created to
CreatedFrom = 44
created from
AddedTo = 45
added to
AddedFrom = 46
added from
MimeTypeIs = 47
mime type is
Trait Implementations§
Source§impl Clone for RuleTypeEnum
impl Clone for RuleTypeEnum
Source§fn clone(&self) -> RuleTypeEnum
fn clone(&self) -> RuleTypeEnum
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for RuleTypeEnum
Source§impl Debug for RuleTypeEnum
impl Debug for RuleTypeEnum
Source§impl<'de> Deserialize<'de> for RuleTypeEnum
impl<'de> Deserialize<'de> for RuleTypeEnum
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>,
Source§impl Hash for RuleTypeEnum
impl Hash for RuleTypeEnum
Source§impl JsonSchema for RuleTypeEnum
impl JsonSchema for RuleTypeEnum
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moreSource§impl PartialEq for RuleTypeEnum
impl PartialEq for RuleTypeEnum
Source§impl Serialize for RuleTypeEnum
impl Serialize for RuleTypeEnum
impl StructuralPartialEq for RuleTypeEnum
Source§impl Tabled for RuleTypeEnum
Available on crate feature tabled only.
impl Tabled for RuleTypeEnum
tabled only.Source§impl ValueEnum for RuleTypeEnum
Available on crate feature clap only.
impl ValueEnum for RuleTypeEnum
clap only.Auto Trait Implementations§
impl Freeze for RuleTypeEnum
impl RefUnwindSafe for RuleTypeEnum
impl Send for RuleTypeEnum
impl Sync for RuleTypeEnum
impl Unpin for RuleTypeEnum
impl UnsafeUnpin for RuleTypeEnum
impl UnwindSafe for RuleTypeEnum
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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> ⓘ
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> ⓘ
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