pub struct SavedSearchScope {
pub include_account: Option<bool>,
pub include_personal_linked_notebooks: Option<bool>,
pub include_business_linked_notebooks: Option<bool>,
}Expand description
A structure defining the scope of a SavedSearch.
- includeAccount
- The search should include notes from the account that contains the SavedSearch.
- includePersonalLinkedNotebooks
- The search should include notes within those shared notebooks that the user has joined that are NOT business notebooks.
- includeBusinessLinkedNotebooks
- The search should include notes within those shared notebooks that the user has joined that are business notebooks in the business that the user is currently a member of.
Fields§
§include_account: Option<bool>§include_personal_linked_notebooks: Option<bool>§include_business_linked_notebooks: Option<bool>Implementations§
Trait Implementations§
Source§impl Clone for SavedSearchScope
impl Clone for SavedSearchScope
Source§fn clone(&self) -> SavedSearchScope
fn clone(&self) -> SavedSearchScope
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 moreSource§impl Debug for SavedSearchScope
impl Debug for SavedSearchScope
Source§impl Default for SavedSearchScope
impl Default for SavedSearchScope
Source§fn default() -> SavedSearchScope
fn default() -> SavedSearchScope
Returns the “default value” for a type. Read more
impl Eq for SavedSearchScope
Source§impl Hash for SavedSearchScope
impl Hash for SavedSearchScope
Source§impl Ord for SavedSearchScope
impl Ord for SavedSearchScope
Source§fn cmp(&self, other: &SavedSearchScope) -> Ordering
fn cmp(&self, other: &SavedSearchScope) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SavedSearchScope
impl PartialEq for SavedSearchScope
Source§impl PartialOrd for SavedSearchScope
impl PartialOrd for SavedSearchScope
impl StructuralPartialEq for SavedSearchScope
Source§impl TSerializable for SavedSearchScope
impl TSerializable for SavedSearchScope
fn read_from_in_protocol( i_prot: &mut dyn TInputProtocol, ) -> Result<SavedSearchScope>
fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> Result<()>
Auto Trait Implementations§
impl Freeze for SavedSearchScope
impl RefUnwindSafe for SavedSearchScope
impl Send for SavedSearchScope
impl Sync for SavedSearchScope
impl Unpin for SavedSearchScope
impl UnsafeUnpin for SavedSearchScope
impl UnwindSafe for SavedSearchScope
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