pub struct GroupCreate {
pub domain_id: String,
pub name: String,
pub description: Option<String>,
pub extra: Option<Value>,
}Fields§
§domain_id: StringGroup domain ID.
name: StringGroup name.
description: Option<String>Group description.
extra: Option<Value>Trait Implementations§
Source§impl Clone for GroupCreate
impl Clone for GroupCreate
Source§fn clone(&self) -> GroupCreate
fn clone(&self) -> GroupCreate
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 GroupCreate
impl Debug for GroupCreate
Source§impl Default for GroupCreate
impl Default for GroupCreate
Source§fn default() -> GroupCreate
fn default() -> GroupCreate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GroupCreate
impl<'de> Deserialize<'de> for GroupCreate
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GroupCreate, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GroupCreate, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GroupCreate
impl PartialEq for GroupCreate
Source§impl Serialize for GroupCreate
impl Serialize for GroupCreate
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl ToSchema for GroupCreate
impl ToSchema for GroupCreate
Source§impl Validate for GroupCreate
impl Validate for GroupCreate
Source§impl<'v_a> ValidateArgs<'v_a> for GroupCreate
impl<'v_a> ValidateArgs<'v_a> for GroupCreate
type Args = ()
fn validate_with_args( &self, args: <GroupCreate as ValidateArgs<'v_a>>::Args, ) -> Result<(), ValidationErrors>
impl StructuralPartialEq for GroupCreate
Auto Trait Implementations§
impl Freeze for GroupCreate
impl RefUnwindSafe for GroupCreate
impl Send for GroupCreate
impl Sync for GroupCreate
impl Unpin for GroupCreate
impl UnsafeUnpin for GroupCreate
impl UnwindSafe for GroupCreate
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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