pub enum DiscoveryScope {
Link,
Admin,
Site,
Organisation,
Global,
}Variants§
Implementations§
Source§impl DiscoveryScope
impl DiscoveryScope
pub fn from_name(value: &str) -> Option<DiscoveryScope>
Trait Implementations§
Source§impl Clone for DiscoveryScope
impl Clone for DiscoveryScope
Source§fn clone(&self) -> DiscoveryScope
fn clone(&self) -> DiscoveryScope
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 DiscoveryScope
Source§impl Debug for DiscoveryScope
impl Debug for DiscoveryScope
impl Eq for DiscoveryScope
Source§impl PartialEq for DiscoveryScope
impl PartialEq for DiscoveryScope
impl StructuralPartialEq for DiscoveryScope
Auto Trait Implementations§
impl Freeze for DiscoveryScope
impl RefUnwindSafe for DiscoveryScope
impl Send for DiscoveryScope
impl Sync for DiscoveryScope
impl Unpin for DiscoveryScope
impl UnsafeUnpin for DiscoveryScope
impl UnwindSafe for DiscoveryScope
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