pub struct DelegatedTreeRef {
pub permission_bounds: PermissionBounds,
pub tree: TreeReference,
}Expand description
Delegated tree reference stored in main tree’s _settings.auth
Fields§
§permission_bounds: PermissionBoundsPermission bounds for keys from this delegated tree
tree: TreeReferenceReference to the delegated tree
Trait Implementations§
Source§impl Clone for DelegatedTreeRef
impl Clone for DelegatedTreeRef
Source§fn clone(&self) -> DelegatedTreeRef
fn clone(&self) -> DelegatedTreeRef
Returns a duplicate of the value. Read more
1.0.0 · 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 DelegatedTreeRef
impl Debug for DelegatedTreeRef
Source§impl Default for DelegatedTreeRef
impl Default for DelegatedTreeRef
Source§fn default() -> DelegatedTreeRef
fn default() -> DelegatedTreeRef
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DelegatedTreeRef
impl<'de> Deserialize<'de> for DelegatedTreeRef
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<DelegatedTreeRef> for Doc
impl From<DelegatedTreeRef> for Doc
Source§fn from(dtref: DelegatedTreeRef) -> Doc
fn from(dtref: DelegatedTreeRef) -> Doc
Converts to this type from the input type.
Source§impl From<DelegatedTreeRef> for Value
impl From<DelegatedTreeRef> for Value
Source§fn from(dtref: DelegatedTreeRef) -> Value
fn from(dtref: DelegatedTreeRef) -> Value
Converts to this type from the input type.
Source§impl PartialEq for DelegatedTreeRef
impl PartialEq for DelegatedTreeRef
Source§impl Serialize for DelegatedTreeRef
impl Serialize for DelegatedTreeRef
Source§impl TryFrom<&Doc> for DelegatedTreeRef
impl TryFrom<&Doc> for DelegatedTreeRef
impl Eq for DelegatedTreeRef
impl StructuralPartialEq for DelegatedTreeRef
Auto Trait Implementations§
impl Freeze for DelegatedTreeRef
impl RefUnwindSafe for DelegatedTreeRef
impl Send for DelegatedTreeRef
impl Sync for DelegatedTreeRef
impl Unpin for DelegatedTreeRef
impl UnwindSafe for DelegatedTreeRef
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more