pub struct ParentGroups(/* private fields */);Expand description
The ParentGroups struct is a wrapped vector of strings.
It stores a list of strings representing the groups the host belongs to.
The ParentGroups struct implements Deref and DerefMut for easy access to the underlying vector.
Implementations§
Source§impl ParentGroups
impl ParentGroups
Trait Implementations§
Source§impl Clone for ParentGroups
impl Clone for ParentGroups
Source§fn clone(&self) -> ParentGroups
fn clone(&self) -> ParentGroups
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 ParentGroups
impl Debug for ParentGroups
Source§impl Default for ParentGroups
impl Default for ParentGroups
Source§impl Deref for ParentGroups
impl Deref for ParentGroups
Source§type Target = <ParentGroups as DerefTarget>::Target
type Target = <ParentGroups as DerefTarget>::Target
The resulting type after dereferencing.
Source§impl DerefMut for ParentGroups
impl DerefMut for ParentGroups
Source§impl DerefTarget for ParentGroups
impl DerefTarget for ParentGroups
Source§impl<'de> Deserialize<'de> for ParentGroups
impl<'de> Deserialize<'de> for ParentGroups
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 JsonSchema for ParentGroups
impl JsonSchema for ParentGroups
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ParentGroups
impl PartialEq for ParentGroups
Source§fn eq(&self, other: &ParentGroups) -> bool
fn eq(&self, other: &ParentGroups) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ParentGroups
impl Serialize for ParentGroups
impl StructuralPartialEq for ParentGroups
Auto Trait Implementations§
impl Freeze for ParentGroups
impl RefUnwindSafe for ParentGroups
impl Send for ParentGroups
impl Sync for ParentGroups
impl Unpin for ParentGroups
impl UnsafeUnpin for ParentGroups
impl UnwindSafe for ParentGroups
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