symmetry-imap v0.1.3 (2020-08-17T20:50:11Z)
Dub
Repo
SearchQuery
imap
searchquery
Undocumented in source.
struct
SearchQuery {
@
SILdoc
("not flag if applied inverts the whole query")
@"NOT"
bool
not
;
ImapFlag
[]
flags
;
@"FROM"
string
fromContains
;
@"CC"
string
ccContains
;
@"BCC"
string
bccContains
;
@"TO"
string
toContains
;
@"SUBJECT"
string
subjectContains
;
@"BODY"
string
bodyContains
;
@"TEXT"
string
textContains
;
@"BEFORE"
Date
beforeDate
;
@"HEADER"
string
[
string
]
headerFieldContains
;
@"KEYWORD"
string
[]
hasKeyword
;
@"SMALLER"
ulong
smallerThanBytes
;
@"LARGER"
ulong
largerThanBytes
;
@"NEW"
bool
isNew
;
@"OLD"
bool
isOld
;
@"ON"
Date
onDate
;
@"SENTBEFORE"
Date
sentBefore
;
@"SENTON"
Date
sentOn
;
@"SENTSINCE"
Date
sentSince
;
@"SINCE"
Date
since
;
@"UID"
ulong
[]
uniqueIdentifiers
;
@"UID"
UidRange
[]
uniqueIdentifierRanges
;
string
applyNot
(string s);
template
isSILdoc
(alias T)
;
void
toString
(void delegate(const(char)[]) sink);
}
Members
Functions
applyNot
string
applyNot
(string s)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
void
toString
(void delegate(const(char)[]) sink)
Undocumented in source. Be warned that the author may not have intended to support it.
Templates
isSILdoc
template
isSILdoc
(alias T)
Undocumented in source.
Variables
bccContains
string
bccContains
;
Undocumented in source.
beforeDate
Date
beforeDate
;
Undocumented in source.
bodyContains
string
bodyContains
;
Undocumented in source.
ccContains
string
ccContains
;
Undocumented in source.
flags
ImapFlag
[]
flags
;
Undocumented in source.
fromContains
string
fromContains
;
Undocumented in source.
hasKeyword
string
[]
hasKeyword
;
Undocumented in source.
headerFieldContains
string
[
string
]
headerFieldContains
;
Undocumented in source.
isNew
bool
isNew
;
Undocumented in source.
isOld
bool
isOld
;
Undocumented in source.
largerThanBytes
ulong
largerThanBytes
;
Undocumented in source.
not
bool
not
;
Undocumented in source.
onDate
Date
onDate
;
Undocumented in source.
sentBefore
Date
sentBefore
;
Undocumented in source.
sentOn
Date
sentOn
;
Undocumented in source.
sentSince
Date
sentSince
;
Undocumented in source.
since
Date
since
;
Undocumented in source.
smallerThanBytes
ulong
smallerThanBytes
;
Undocumented in source.
subjectContains
string
subjectContains
;
Undocumented in source.
textContains
string
textContains
;
Undocumented in source.
toContains
string
toContains
;
Undocumented in source.
uniqueIdentifierRanges
UidRange
[]
uniqueIdentifierRanges
;
Undocumented in source.
uniqueIdentifiers
ulong
[]
uniqueIdentifiers
;
Undocumented in source.
Meta
Source
See Implementation
imap
searchquery
functions
createQuery
rfcDate
searchQueries
searchQuery
structs
SearchQuery
UidRange