pub struct Filter {
pub and: Option<Vec<Box<Filter>>>,
pub or: Option<Vec<Box<Filter>>>,
pub property: Option<String>,
pub condition: Option<Condition>,
pub timestamp: Option<String>,
}
Fields§
§and: Option<Vec<Box<Filter>>>
§or: Option<Vec<Box<Filter>>>
§property: Option<String>
§condition: Option<Condition>
§timestamp: Option<String>
Always either a “created_time” or null. When it’s “created_time”, apply a timestamp filter.
Implementations§
Source§impl Filter
impl Filter
pub fn and(filters: Vec<Filter>) -> Self
pub fn or(filters: Vec<Filter>) -> Self
Sourcepub fn checkbox_is_checked<T: AsRef<str>>(property_name: T) -> Self
pub fn checkbox_is_checked<T: AsRef<str>>(property_name: T) -> Self
Return the records where the checkbox is checked.
property_name
: Property Name (Column Name) in Notion Database
Sourcepub fn checkbox_is_not_checked<T: AsRef<str>>(property_name: T) -> Self
pub fn checkbox_is_not_checked<T: AsRef<str>>(property_name: T) -> Self
Return the records where the checkbox is NOT checked.
property_name
: Property Name (Column Name) in Notion Database
Sourcepub fn date_after<S: AsRef<str>, T: AsRef<str>>(
property_name: S,
date: T,
) -> Self
pub fn date_after<S: AsRef<str>, T: AsRef<str>>( property_name: S, date: T, ) -> Self
Returns database entries where the date property value is after the provided date.
property_name
: Property Name (Column Name) in Notion Databasedate
: ISO 8601 date- e.g.)
"2021-05-10"
,"2021-05-10T12:00:00"
,"2021-10-15T12:00:00-07:00"
- e.g.)
Sourcepub fn date_before<S: AsRef<str>, T: AsRef<str>>(
property_name: S,
date: T,
) -> Self
pub fn date_before<S: AsRef<str>, T: AsRef<str>>( property_name: S, date: T, ) -> Self
Returns database entries where the date property value is before the provided date.
property_name
: Property Name (Column Name) in Notion Databasedate
: The value to compare the date property value against. (ISO 8601 date)- e.g.)
"2021-05-10"
,"2021-05-10T12:00:00"
,"2021-10-15T12:00:00-07:00"
- e.g.)
Sourcepub fn date_equals<S: AsRef<str>, T: AsRef<str>>(
property_name: S,
date: T,
) -> Self
pub fn date_equals<S: AsRef<str>, T: AsRef<str>>( property_name: S, date: T, ) -> Self
Returns database entries where the date property value is the provided date.
property_name
: Property Name (Column Name) in Notion Databasedate
: The value to compare the date property value against. (ISO 8601 date)- e.g.)
"2021-05-10"
,"2021-05-10T12:00:00"
,"2021-10-15T12:00:00-07:00"
- e.g.)
Sourcepub fn date_is_empty<T: AsRef<str>>(property_name: T) -> Self
pub fn date_is_empty<T: AsRef<str>>(property_name: T) -> Self
Returns database entries where the date property value contains no data.
property_name
: Property Name (Column Name) in Notion Database
Sourcepub fn date_is_not_empty<T: AsRef<str>>(property_name: T) -> Self
pub fn date_is_not_empty<T: AsRef<str>>(property_name: T) -> Self
Returns database entries where the date property value is not empty.
property_name
: Property Name (Column Name) in Notion Database
Sourcepub fn date_next_month<T: AsRef<str>>(property_name: T) -> Self
pub fn date_next_month<T: AsRef<str>>(property_name: T) -> Self
A filter that limits the results to database entries where the date property value is within the next month.
property_name
: Property Name (Column Name) in Notion Database
Sourcepub fn date_next_week<T: AsRef<str>>(property_name: T) -> Self
pub fn date_next_week<T: AsRef<str>>(property_name: T) -> Self
A filter that limits the results to database entries where the date property value is within the next week.
property_name
: Property Name (Column Name) in Notion Database
Sourcepub fn date_next_year<T: AsRef<str>>(property_name: T) -> Self
pub fn date_next_year<T: AsRef<str>>(property_name: T) -> Self
A filter that limits the results to database entries where the date property value is within the next year.
property_name
: Property Name (Column Name) in Notion Database
Sourcepub fn date_on_or_after<S: AsRef<str>, T: AsRef<str>>(
property_name: S,
date: T,
) -> Self
pub fn date_on_or_after<S: AsRef<str>, T: AsRef<str>>( property_name: S, date: T, ) -> Self
Returns database entries where the date property value is on or after the provided date.
property_name
: Property Name (Column Name) in Notion Databasedate
: The value to compare the date property value against. (ISO 8601 date)- e.g.)
"2021-05-10"
,"2021-05-10T12:00:00"
,"2021-10-15T12:00:00-07:00"
- e.g.)
Sourcepub fn date_on_or_before<S: AsRef<str>, T: AsRef<str>>(
property_name: S,
date: T,
) -> Self
pub fn date_on_or_before<S: AsRef<str>, T: AsRef<str>>( property_name: S, date: T, ) -> Self
Returns database entries where the date property value is on or before the provided date.
property_name
: Property Name (Column Name) in Notion Databasedate
: The value to compare the date property value against. (ISO 8601 date)- e.g.)
"2021-05-10"
,"2021-05-10T12:00:00"
,"2021-10-15T12:00:00-07:00"
- e.g.)
Sourcepub fn date_past_month<T: AsRef<str>>(property_name: T) -> Self
pub fn date_past_month<T: AsRef<str>>(property_name: T) -> Self
A filter that limits the results to database entries where the date property value is within the past month.
property_name
: Property Name (Column Name) in Notion Database
Sourcepub fn date_past_week<T: AsRef<str>>(property_name: T) -> Self
pub fn date_past_week<T: AsRef<str>>(property_name: T) -> Self
A filter that limits the results to database entries where the date property value is within the past week.
property_name
: Property Name (Column Name) in Notion Database
Sourcepub fn date_past_year<T: AsRef<str>>(property_name: T) -> Self
pub fn date_past_year<T: AsRef<str>>(property_name: T) -> Self
A filter that limits the results to database entries where the date property value is within the past year.
property_name
: Property Name (Column Name) in Notion Database
Sourcepub fn date_this_week<T: AsRef<str>>(property_name: T) -> Self
pub fn date_this_week<T: AsRef<str>>(property_name: T) -> Self
A filter that limits the results to database entries where the date property value is this week.
property_name
: Property Name (Column Name) in Notion Database
Sourcepub fn files_is_empty<T: AsRef<str>>(property_name: T) -> Self
pub fn files_is_empty<T: AsRef<str>>(property_name: T) -> Self
Returns all database entries with an empty files property value.
property_name
: Property Name (Column Name) in Notion Database
Sourcepub fn files_is_not_empty<T: AsRef<str>>(property_name: T) -> Self
pub fn files_is_not_empty<T: AsRef<str>>(property_name: T) -> Self
Returns all entries with a populated files property value.
property_name
: Property Name (Column Name) in Notion Database
pub fn formula_number_equals<T, N>(property_name: T, number: N) -> Self
pub fn formula_number_does_not_equal<T, N>(property_name: T, number: N) -> Self
pub fn formula_number_greater_than<T, N>(property_name: T, number: N) -> Self
pub fn formula_number_less_than<T, N>(property_name: T, number: N) -> Self
pub fn formula_number_greater_than_or_equal<T, N>( property_name: T, number: N, ) -> Self
pub fn formula_number_less_than_or_equal<T, N>( property_name: T, number: N, ) -> Self
pub fn formula_number_is_empty<T: AsRef<str>>(property_name: T) -> Self
pub fn formula_number_is_not_empty<T: AsRef<str>>(property_name: T) -> Self
pub fn formula_string_equals<T: AsRef<str>>(property_name: T, text: T) -> Self
pub fn formula_string_does_not_equal<T: AsRef<str>>( property_name: T, text: T, ) -> Self
pub fn formula_string_contains<T: AsRef<str>>(property_name: T, text: T) -> Self
pub fn formula_string_does_not_contain<T: AsRef<str>>( property_name: T, text: T, ) -> Self
pub fn formula_string_starts_with<T: AsRef<str>>( property_name: T, text: T, ) -> Self
pub fn formula_string_ends_with<T: AsRef<str>>( property_name: T, text: T, ) -> Self
pub fn formula_string_is_empty<T: AsRef<str>>(property_name: T) -> Self
pub fn formula_string_is_not_empty<T: AsRef<str>>(property_name: T) -> Self
pub fn formula_checkbox_equals<T: AsRef<str>>( property_name: T, checked: bool, ) -> Self
pub fn formula_checkbox_is_checked<T: AsRef<str>>(property_name: T) -> Self
pub fn formula_checkbox_is_not_checked<T: AsRef<str>>(property_name: T) -> Self
pub fn formula_date_after<S: AsRef<str>, T: AsRef<str>>( property_name: S, date: T, ) -> Self
pub fn formula_date_before<S: AsRef<str>, T: AsRef<str>>( property_name: S, date: T, ) -> Self
pub fn formula_date_equals<S: AsRef<str>, T: AsRef<str>>( property_name: S, date: T, ) -> Self
pub fn formula_date_is_empty<T: AsRef<str>>(property_name: T) -> Self
pub fn formula_date_is_not_empty<T: AsRef<str>>(property_name: T) -> Self
pub fn formula_date_next_month<T: AsRef<str>>(property_name: T) -> Self
pub fn formula_date_next_week<T: AsRef<str>>(property_name: T) -> Self
pub fn formula_date_next_year<T: AsRef<str>>(property_name: T) -> Self
pub fn formula_date_on_or_after<S: AsRef<str>, T: AsRef<str>>( property_name: S, date: T, ) -> Self
pub fn formula_date_on_or_before<S: AsRef<str>, T: AsRef<str>>( property_name: S, date: T, ) -> Self
pub fn formula_date_past_month<T: AsRef<str>>(property_name: T) -> Self
pub fn formula_date_past_week<T: AsRef<str>>(property_name: T) -> Self
pub fn formula_date_past_year<T: AsRef<str>>(property_name: T) -> Self
pub fn formula_date_this_week<T: AsRef<str>>(property_name: T) -> Self
Sourcepub fn multi_select_contains<S, T>(property_name: S, option_name: T) -> Self
pub fn multi_select_contains<S, T>(property_name: S, option_name: T) -> Self
Returns database entries where the multi-select value matches the provided string.
property_name
: Property Name (Column Name) in Notion Databaseoption_name
: The string to compare the multi-select property value against.
Sourcepub fn multi_select_does_not_contain<S, T>(
property_name: S,
option_name: T,
) -> Self
pub fn multi_select_does_not_contain<S, T>( property_name: S, option_name: T, ) -> Self
Returns database entries where the multi-select value does not match the provided string.
property_name
: Property Name (Column Name) in Notion Databaseoption_name
: The string to compare the multi-select property value against.
Sourcepub fn multi_select_is_empty<S>(property_name: S) -> Self
pub fn multi_select_is_empty<S>(property_name: S) -> Self
Returns database entries where the multi-select property value is empty.
property_name
: Property Name (Column Name) in Notion Database
Sourcepub fn multi_select_is_not_empty<S>(property_name: S) -> Self
pub fn multi_select_is_not_empty<S>(property_name: S) -> Self
Returns database entries where the multi-select property value is not empty.
property_name
: Property Name (Column Name) in Notion Database
Sourcepub fn number_does_not_equal<T, N>(property_name: T, number: N) -> Self
pub fn number_does_not_equal<T, N>(property_name: T, number: N) -> Self
Returns database entries where the number property value differs from the provided number.
property_name
: Property Name (Column Name) in Notion Databasenumber
: The number to compare the number property value against.
Sourcepub fn number_equals<T, N>(property_name: T, number: N) -> Self
pub fn number_equals<T, N>(property_name: T, number: N) -> Self
Returns database entries where the number property value is the same as the provided number.
property_name
: Property Name (Column Name) in Notion Databasenumber
: The number to compare the number property value against.
Sourcepub fn number_greater_than<T, N>(property_name: T, number: N) -> Self
pub fn number_greater_than<T, N>(property_name: T, number: N) -> Self
Returns database entries where the number property value exceeds the provided number.
property_name
: Property Name (Column Name) in Notion Databasenumber
: The number to compare the number property value against.
Sourcepub fn number_greater_than_or_equal_to<T, N>(
property_name: T,
number: N,
) -> Self
pub fn number_greater_than_or_equal_to<T, N>( property_name: T, number: N, ) -> Self
Returns database entries where the number property value is equal to or exceeds the provided number.
property_name
: Property Name (Column Name) in Notion Databasenumber
: The number to compare the number property value against.
Sourcepub fn number_is_empty<T>(property_name: T) -> Self
pub fn number_is_empty<T>(property_name: T) -> Self
Returns database entries where the number property value does not contain any data.
property_name
: Property Name (Column Name) in Notion Database
Sourcepub fn number_is_not_empty<T>(property_name: T) -> Self
pub fn number_is_not_empty<T>(property_name: T) -> Self
Returns database entries where the number property value contains data.
property_name
: Property Name (Column Name) in Notion Database
Sourcepub fn number_less_than<T, N>(property_name: T, number: N) -> Self
pub fn number_less_than<T, N>(property_name: T, number: N) -> Self
Returns database entries where the number property value is less than the provided number.
property_name
: Property Name (Column Name) in Notion Databasenumber
: The number to compare the number property value against.
Sourcepub fn number_less_than_or_equal_to<T, N>(property_name: T, number: N) -> Self
pub fn number_less_than_or_equal_to<T, N>(property_name: T, number: N) -> Self
Returns database entries where the number property value is equal to or is less than the provided number.
property_name
: Property Name (Column Name) in Notion Databasenumber
: The number to compare the number property value against.
Sourcepub fn people_contains<S, T>(property_name: S, id: T) -> Self
pub fn people_contains<S, T>(property_name: S, id: T) -> Self
Returns database entries where the people property value contains the provided string.
property_name
: Property Name (Column Name) in Notion Databaseid
: The value to compare the people property value against.
Sourcepub fn people_does_not_contain<S, T>(property_name: S, id: T) -> Self
pub fn people_does_not_contain<S, T>(property_name: S, id: T) -> Self
Returns database entries where the people property value does not contain the provided string.
property_name
: Property Name (Column Name) in Notion Databaseid
: The value to compare the people property value against.
Sourcepub fn people_is_empty<T>(property_name: T) -> Self
pub fn people_is_empty<T>(property_name: T) -> Self
Returns database entries where the people property value does not contain any data.
property_name
: Property Name (Column Name) in Notion Database
Sourcepub fn people_is_not_empty<T>(property_name: T) -> Self
pub fn people_is_not_empty<T>(property_name: T) -> Self
Returns database entries where the people property value is not empty.
property_name
: Property Name (Column Name) in Notion Database
pub fn phone_number_contains<S, T>(property_name: S, phone_number: T) -> Self
pub fn phone_number_does_not_contain<S, T>( property_name: S, phone_number: T, ) -> Self
pub fn phone_number_does_not_equal<S, T>( property_name: S, phone_number: T, ) -> Self
pub fn phone_number_ends_with<S, T>(property_name: S, phone_number: T) -> Self
pub fn phone_number_equals<S, T>(property_name: S, phone_number: T) -> Self
pub fn phone_number_is_empty<S>(property_name: S) -> Self
pub fn phone_number_is_not_empty<S>(property_name: S) -> Self
pub fn phone_number_starts_with<S, T>(property_name: S, phone_number: T) -> Self
Sourcepub fn relation_contains<S, T>(property_name: S, uuid: T) -> Self
pub fn relation_contains<S, T>(property_name: S, uuid: T) -> Self
Returns database entries with a text property value that includes the provided string.
property_name
: Property Name (Column Name) in Notion Databaseuuid
: The string to compare the text property value against.
Sourcepub fn relation_does_not_contain<S, T>(property_name: S, uuid: T) -> Self
pub fn relation_does_not_contain<S, T>(property_name: S, uuid: T) -> Self
Returns database entries with a text property value that does not include the provided string.
property_name
: Property Name (Column Name) in Notion Databaseuuid
: The string to compare the text property value against.
Sourcepub fn relation_is_empty<S>(property_name: S) -> Self
pub fn relation_is_empty<S>(property_name: S) -> Self
Returns database entries with a text property value that is empty.
property_name
: Property Name (Column Name) in Notion Database
Sourcepub fn relation_is_not_empty<S>(property_name: S) -> Self
pub fn relation_is_not_empty<S>(property_name: S) -> Self
Returns database entries with a text property value that contains data.
property_name
: Property Name (Column Name) in Notion Database
Sourcepub fn rich_text_contains<S, T>(property_name: S, text: T) -> Self
pub fn rich_text_contains<S, T>(property_name: S, text: T) -> Self
Returns database entries with a text property value that includes the provided string.
property_name
: Property Name (Column Name) in Notion Databasetext
: The string to compare the text property value against.
Sourcepub fn rich_text_does_not_contain<S, T>(property_name: S, text: T) -> Self
pub fn rich_text_does_not_contain<S, T>(property_name: S, text: T) -> Self
Returns database entries with a text property value that does not include the provided string.
property_name
: Property Name (Column Name) in Notion Databasetext
: The string to compare the text property value against.
Sourcepub fn rich_text_does_not_equal<S, T>(property_name: S, text: T) -> Self
pub fn rich_text_does_not_equal<S, T>(property_name: S, text: T) -> Self
Returns database entries with a text property value that does not match the provided string.
property_name
: Property Name (Column Name) in Notion Databasetext
: The string to compare the text property value against.
Sourcepub fn rich_text_ends_with<S, T>(property_name: S, text: T) -> Self
pub fn rich_text_ends_with<S, T>(property_name: S, text: T) -> Self
Returns database entries with a text property value that ends with the provided string.
property_name
: Property Name (Column Name) in Notion Databasetext
: The string to compare the text property value against.
Sourcepub fn rich_text_equals<S, T>(property_name: S, text: T) -> Self
pub fn rich_text_equals<S, T>(property_name: S, text: T) -> Self
Returns database entries with a text property value that matches the provided string.
property_name
: Property Name (Column Name) in Notion Databasetext
: The string to compare the text property value against.
Sourcepub fn rich_text_is_empty<S>(property_name: S) -> Self
pub fn rich_text_is_empty<S>(property_name: S) -> Self
Returns database entries with a text property value that is empty.
property_name
: Property Name (Column Name) in Notion Database
Sourcepub fn rich_text_is_not_empty<S>(property_name: S) -> Self
pub fn rich_text_is_not_empty<S>(property_name: S) -> Self
Returns database entries with a text property value that contains data.
property_name
: Property Name (Column Name) in Notion Database
Sourcepub fn rich_text_starts_with<S, T>(property_name: S, text: T) -> Self
pub fn rich_text_starts_with<S, T>(property_name: S, text: T) -> Self
Returns database entries with a text property value that starts with the provided string.
property_name
: Property Name (Column Name) in Notion Databasetext
: The string to compare the text property value against.
Sourcepub fn rollup_any<S>(property_name: S, filter: Filter) -> Self
pub fn rollup_any<S>(property_name: S, filter: Filter) -> Self
Returns database entries where the rollup property value matches the provided criteria.
Sourcepub fn rollup_every<S>(property_name: S, filter: Filter) -> Self
pub fn rollup_every<S>(property_name: S, filter: Filter) -> Self
Returns database entries where every rollup property value matches the provided criteria.
Sourcepub fn rollup_none<S>(property_name: S, filter: Filter) -> Self
pub fn rollup_none<S>(property_name: S, filter: Filter) -> Self
Returns database entries where no rollup property value matches the provided criteria.
Sourcepub fn select_does_not_equal<S, T>(property_name: S, option_name: T) -> Self
pub fn select_does_not_equal<S, T>(property_name: S, option_name: T) -> Self
Returns database entries where the select property value matches the provided string.
property_name
: Property Name (Column Name) in Notion Databaseoption_name
: The string to compare the select property value against.
Sourcepub fn select_equals<S, T>(property_name: S, option_name: T) -> Self
pub fn select_equals<S, T>(property_name: S, option_name: T) -> Self
Returns database entries where the select property value does not match the provided string.
property_name
: Property Name (Column Name) in Notion Databaseoption_name
: The string to compare the select property value against.
Sourcepub fn select_is_empty<S>(property_name: S) -> Self
pub fn select_is_empty<S>(property_name: S) -> Self
Returns database entries where the select property value is empty.
property_name
: Property Name (Column Name) in Notion Database
Sourcepub fn select_is_not_empty<S>(property_name: S) -> Self
pub fn select_is_not_empty<S>(property_name: S) -> Self
Returns database entries where the select property value is not empty.
property_name
: Property Name (Column Name) in Notion Database
Sourcepub fn status_does_not_equal<S, T>(property_name: S, option_name: T) -> Self
pub fn status_does_not_equal<S, T>(property_name: S, option_name: T) -> Self
Returns database entries where the status property value matches the provided string.
property_name
: Property Name (Column Name) in Notion Databaseoption_name
: The string to compare the status property value against.
Sourcepub fn status_equals<S, T>(property_name: S, option_name: T) -> Self
pub fn status_equals<S, T>(property_name: S, option_name: T) -> Self
Returns database entries where the status property value does not match the provided string.
property_name
: Property Name (Column Name) in Notion Databaseoption_name
: The string to compare the status property value against.
Sourcepub fn status_is_empty<S>(property_name: S) -> Self
pub fn status_is_empty<S>(property_name: S) -> Self
Returns database entries where the status property value is empty.
property_name
: Property Name (Column Name) in Notion Database
Sourcepub fn status_is_not_empty<S>(property_name: S) -> Self
pub fn status_is_not_empty<S>(property_name: S) -> Self
Returns database entries where the status property value is not empty.
property_name
: Property Name (Column Name) in Notion Database
Sourcepub fn timestamp_after<T: AsRef<str>>(timestamp: T) -> Self
pub fn timestamp_after<T: AsRef<str>>(timestamp: T) -> Self
Returns database entries where the timestamp property value is after the provided timestamp.
property_name
: Property Name (Column Name) in Notion Databasetimestamp
: ISO 8601 timestamp- e.g.)
"2021-05-10"
,"2021-05-10T12:00:00"
,"2021-10-15T12:00:00-07:00"
- e.g.)
Sourcepub fn timestamp_before<T: AsRef<str>>(timestamp: T) -> Self
pub fn timestamp_before<T: AsRef<str>>(timestamp: T) -> Self
Returns database entries where the timestamp property value is before the provided timestamp.
property_name
: Property Name (Column Name) in Notion Databasetimestamp
: The value to compare the timestamp property value against. (ISO 8601 timestamp)- e.g.)
"2021-05-10"
,"2021-05-10T12:00:00"
,"2021-10-15T12:00:00-07:00"
- e.g.)
Sourcepub fn timestamp_equals<T: AsRef<str>>(timestamp: T) -> Self
pub fn timestamp_equals<T: AsRef<str>>(timestamp: T) -> Self
Returns database entries where the timestamp property value is the provided timestamp.
property_name
: Property Name (Column Name) in Notion Databasetimestamp
: The value to compare the timestamp property value against. (ISO 8601 timestamp)- e.g.)
"2021-05-10"
,"2021-05-10T12:00:00"
,"2021-10-15T12:00:00-07:00"
- e.g.)
Sourcepub fn timestamp_is_empty() -> Self
pub fn timestamp_is_empty() -> Self
Returns database entries where the timestamp property value contains no data.
property_name
: Property Name (Column Name) in Notion Database
Sourcepub fn timestamp_is_not_empty() -> Self
pub fn timestamp_is_not_empty() -> Self
Returns database entries where the timestamp property value is not empty.
property_name
: Property Name (Column Name) in Notion Database
Sourcepub fn timestamp_next_month() -> Self
pub fn timestamp_next_month() -> Self
A filter that limits the results to database entries where the timestamp property value is within the next month.
property_name
: Property Name (Column Name) in Notion Database
Sourcepub fn timestamp_next_week() -> Self
pub fn timestamp_next_week() -> Self
A filter that limits the results to database entries where the timestamp property value is within the next week.
property_name
: Property Name (Column Name) in Notion Database
Sourcepub fn timestamp_next_year() -> Self
pub fn timestamp_next_year() -> Self
A filter that limits the results to database entries where the timestamp property value is within the next year.
property_name
: Property Name (Column Name) in Notion Database
Sourcepub fn timestamp_on_or_after<T: AsRef<str>>(timestamp: T) -> Self
pub fn timestamp_on_or_after<T: AsRef<str>>(timestamp: T) -> Self
Returns database entries where the timestamp property value is on or after the provided timestamp.
property_name
: Property Name (Column Name) in Notion Databasetimestamp
: The value to compare the timestamp property value against. (ISO 8601 timestamp)- e.g.)
"2021-05-10"
,"2021-05-10T12:00:00"
,"2021-10-15T12:00:00-07:00"
- e.g.)
Sourcepub fn timestamp_on_or_before<T: AsRef<str>>(timestamp: T) -> Self
pub fn timestamp_on_or_before<T: AsRef<str>>(timestamp: T) -> Self
Returns database entries where the timestamp property value is on or before the provided timestamp.
property_name
: Property Name (Column Name) in Notion Databasetimestamp
: The value to compare the timestamp property value against. (ISO 8601 timestamp)- e.g.)
"2021-05-10"
,"2021-05-10T12:00:00"
,"2021-10-15T12:00:00-07:00"
- e.g.)
Sourcepub fn timestamp_past_month() -> Self
pub fn timestamp_past_month() -> Self
A filter that limits the results to database entries where the timestamp property value is within the past month.
property_name
: Property Name (Column Name) in Notion Database
Sourcepub fn timestamp_past_week() -> Self
pub fn timestamp_past_week() -> Self
A filter that limits the results to database entries where the timestamp property value is within the past week.
property_name
: Property Name (Column Name) in Notion Database
Sourcepub fn timestamp_past_year() -> Self
pub fn timestamp_past_year() -> Self
A filter that limits the results to database entries where the timestamp property value is within the past year.
property_name
: Property Name (Column Name) in Notion Database
Sourcepub fn timestamp_this_week() -> Self
pub fn timestamp_this_week() -> Self
A filter that limits the results to database entries where the timestamp property value is this week.
property_name
: Property Name (Column Name) in Notion Database
Sourcepub fn unique_id_does_not_equal<T>(property_name: T, unique_id: u64) -> Self
pub fn unique_id_does_not_equal<T>(property_name: T, unique_id: u64) -> Self
Returns database entries where the unique_id property value differs from the provided unique_id.
property_name
: Property Name (Column Name) in Notion Databaseunique_id
: The unique_id to compare the unique_id property value against.
Sourcepub fn unique_id_equals<T>(property_name: T, unique_id: u64) -> Self
pub fn unique_id_equals<T>(property_name: T, unique_id: u64) -> Self
Returns database entries where the unique_id property value is the same as the provided unique_id.
property_name
: Property Name (Column Name) in Notion Databaseunique_id
: The unique_id to compare the unique_id property value against.
Sourcepub fn unique_id_greater_than<T>(property_name: T, unique_id: u64) -> Self
pub fn unique_id_greater_than<T>(property_name: T, unique_id: u64) -> Self
Returns database entries where the unique_id property value exceeds the provided unique_id.
property_name
: Property Name (Column Name) in Notion Databaseunique_id
: The unique_id to compare the unique_id property value against.
Sourcepub fn unique_id_greater_than_or_equal_to<T>(
property_name: T,
unique_id: u64,
) -> Self
pub fn unique_id_greater_than_or_equal_to<T>( property_name: T, unique_id: u64, ) -> Self
Returns database entries where the unique_id property value is equal to or exceeds the provided unique_id.
property_name
: Property Name (Column Name) in Notion Databaseunique_id
: The unique_id to compare the unique_id property value against.
Sourcepub fn unique_id_less_than<T>(property_name: T, unique_id: u64) -> Self
pub fn unique_id_less_than<T>(property_name: T, unique_id: u64) -> Self
Returns database entries where the unique_id property value is less than the provided unique_id.
property_name
: Property Name (Column Name) in Notion Databaseunique_id
: The unique_id to compare the unique_id property value against.
Sourcepub fn unique_id_less_than_or_equal_to<T>(
property_name: T,
unique_id: u64,
) -> Self
pub fn unique_id_less_than_or_equal_to<T>( property_name: T, unique_id: u64, ) -> Self
Returns database entries where the unique_id property value is equal to or is less than the provided unique_id.
property_name
: Property Name (Column Name) in Notion Databaseunique_id
: The unique_id to compare the unique_id property value against.