pub struct ParentLink {
pub name: String,
pub parent: Option<String>,
pub inheritable: Option<bool>,
pub invalid_parent: Option<bool>,
}Expand description
One gateway project as the parent check needs it, read from
projects/list (K6 a).
Fields§
§name: StringThe project’s name.
parent: Option<String>Its parent, if any (an empty name counts as none).
inheritable: Option<bool>Whether it may serve as a parent; None when the gateway did not say.
invalid_parent: Option<bool>The gateway’s own verdict on this project’s parent link
(invalidParent); None when the gateway did not say.
Trait Implementations§
Source§impl Clone for ParentLink
impl Clone for ParentLink
Source§impl Debug for ParentLink
impl Debug for ParentLink
impl Eq for ParentLink
Source§impl PartialEq for ParentLink
impl PartialEq for ParentLink
impl StructuralPartialEq for ParentLink
Auto Trait Implementations§
impl Freeze for ParentLink
impl RefUnwindSafe for ParentLink
impl Send for ParentLink
impl Sync for ParentLink
impl Unpin for ParentLink
impl UnsafeUnpin for ParentLink
impl UnwindSafe for ParentLink
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.