pub struct ClusterValue {
pub name: String,
pub owner_id: RoleId,
pub privileges: Vec<MzAclItem>,
pub config: ClusterConfig,
}Fields§
§name: String§owner_id: RoleId§privileges: Vec<MzAclItem>§config: ClusterConfigTrait Implementations§
Source§impl Arbitrary for ClusterValue
impl Arbitrary for ClusterValue
Source§type Parameters = (<String as Arbitrary>::Parameters, <RoleId as Arbitrary>::Parameters, <Vec<MzAclItem> as Arbitrary>::Parameters, <ClusterConfig as Arbitrary>::Parameters)
type Parameters = (<String as Arbitrary>::Parameters, <RoleId as Arbitrary>::Parameters, <Vec<MzAclItem> as Arbitrary>::Parameters, <ClusterConfig as Arbitrary>::Parameters)
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = Map<(<String as Arbitrary>::Strategy, <RoleId as Arbitrary>::Strategy, <Vec<MzAclItem> as Arbitrary>::Strategy, <ClusterConfig as Arbitrary>::Strategy), fn((String, RoleId, Vec<MzAclItem>, ClusterConfig)) -> ClusterValue>
type Strategy = Map<(<String as Arbitrary>::Strategy, <RoleId as Arbitrary>::Strategy, <Vec<MzAclItem> as Arbitrary>::Strategy, <ClusterConfig as Arbitrary>::Strategy), fn((String, RoleId, Vec<MzAclItem>, ClusterConfig)) -> ClusterValue>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
Source§impl Clone for ClusterValue
impl Clone for ClusterValue
Source§fn clone(&self) -> ClusterValue
fn clone(&self) -> ClusterValue
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 ClusterValue
impl Debug for ClusterValue
Source§impl<'de> Deserialize<'de> for ClusterValue
impl<'de> Deserialize<'de> for ClusterValue
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
impl Eq for ClusterValue
Source§impl Ord for ClusterValue
impl Ord for ClusterValue
Source§fn cmp(&self, other: &ClusterValue) -> Ordering
fn cmp(&self, other: &ClusterValue) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ClusterValue
impl PartialEq for ClusterValue
Source§impl PartialOrd for ClusterValue
impl PartialOrd for ClusterValue
Source§impl Serialize for ClusterValue
impl Serialize for ClusterValue
impl StructuralPartialEq for ClusterValue
Auto Trait Implementations§
impl Freeze for ClusterValue
impl RefUnwindSafe for ClusterValue
impl Send for ClusterValue
impl Sync for ClusterValue
impl Unpin for ClusterValue
impl UnsafeUnpin for ClusterValue
impl UnwindSafe for ClusterValue
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