pub enum SearchScope {
BaseObject = 0,
SingleLevel = 1,
WholeSubtree = 2,
}Variants§
Implementations§
Source§impl SearchScope
impl SearchScope
Trait Implementations§
Source§impl Clone for SearchScope
impl Clone for SearchScope
Source§fn clone(&self) -> SearchScope
fn clone(&self) -> SearchScope
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 moreimpl Copy for SearchScope
Source§impl Debug for SearchScope
impl Debug for SearchScope
Source§impl Display for SearchScope
impl Display for SearchScope
impl Eq for SearchScope
Source§impl FromStr for SearchScope
impl FromStr for SearchScope
Source§type Err = ProtoError
type Err = ProtoError
The associated error which can be returned from parsing.
Source§fn from_str(s: &str) -> Result<SearchScope, <SearchScope as FromStr>::Err>
fn from_str(s: &str) -> Result<SearchScope, <SearchScope as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl PartialEq for SearchScope
impl PartialEq for SearchScope
impl StructuralPartialEq for SearchScope
Source§impl TryFrom<i64> for SearchScope
impl TryFrom<i64> for SearchScope
Source§type Error = ProtoError
type Error = ProtoError
The type returned in the event of a conversion error.
Source§fn try_from(
value: i64,
) -> Result<SearchScope, <SearchScope as TryFrom<i64>>::Error>
fn try_from( value: i64, ) -> Result<SearchScope, <SearchScope as TryFrom<i64>>::Error>
Performs the conversion.
Auto Trait Implementations§
impl Forget for SearchScope
impl Freeze for SearchScope
impl Move for SearchScope
impl RefUnwindSafe for SearchScope
impl Send for SearchScope
impl Sync for SearchScope
impl Unpin for SearchScope
impl UnsafeUnpin for SearchScope
impl UnwindSafe for SearchScope
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