pub struct CollectionWithIdRequestModel {
pub name: String,
pub external_id: Option<String>,
pub groups: Option<Vec<SelectionReadOnlyRequestModel>>,
pub users: Option<Vec<SelectionReadOnlyRequestModel>>,
pub id: Option<Uuid>,
}
Fields§
§name: String
§external_id: Option<String>
§groups: Option<Vec<SelectionReadOnlyRequestModel>>
§users: Option<Vec<SelectionReadOnlyRequestModel>>
§id: Option<Uuid>
Implementations§
Source§impl CollectionWithIdRequestModel
impl CollectionWithIdRequestModel
pub fn new(name: String) -> CollectionWithIdRequestModel
Trait Implementations§
Source§impl Clone for CollectionWithIdRequestModel
impl Clone for CollectionWithIdRequestModel
Source§fn clone(&self) -> CollectionWithIdRequestModel
fn clone(&self) -> CollectionWithIdRequestModel
Returns a copy 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 CollectionWithIdRequestModel
impl Debug for CollectionWithIdRequestModel
Source§impl Default for CollectionWithIdRequestModel
impl Default for CollectionWithIdRequestModel
Source§fn default() -> CollectionWithIdRequestModel
fn default() -> CollectionWithIdRequestModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CollectionWithIdRequestModel
impl<'de> Deserialize<'de> for CollectionWithIdRequestModel
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 PartialEq for CollectionWithIdRequestModel
impl PartialEq for CollectionWithIdRequestModel
Source§fn eq(&self, other: &CollectionWithIdRequestModel) -> bool
fn eq(&self, other: &CollectionWithIdRequestModel) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CollectionWithIdRequestModel
Auto Trait Implementations§
impl Freeze for CollectionWithIdRequestModel
impl RefUnwindSafe for CollectionWithIdRequestModel
impl Send for CollectionWithIdRequestModel
impl Sync for CollectionWithIdRequestModel
impl Unpin for CollectionWithIdRequestModel
impl UnwindSafe for CollectionWithIdRequestModel
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