pub struct CollectionRequestModel {
pub name: String,
pub external_id: Option<String>,
pub groups: Option<Vec<SelectionReadOnlyRequestModel>>,
pub users: Option<Vec<SelectionReadOnlyRequestModel>>,
}
Fields§
§name: String
§external_id: Option<String>
§groups: Option<Vec<SelectionReadOnlyRequestModel>>
§users: Option<Vec<SelectionReadOnlyRequestModel>>
Implementations§
Source§impl CollectionRequestModel
impl CollectionRequestModel
pub fn new(name: String) -> CollectionRequestModel
Trait Implementations§
Source§impl Clone for CollectionRequestModel
impl Clone for CollectionRequestModel
Source§fn clone(&self) -> CollectionRequestModel
fn clone(&self) -> CollectionRequestModel
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 CollectionRequestModel
impl Debug for CollectionRequestModel
Source§impl Default for CollectionRequestModel
impl Default for CollectionRequestModel
Source§fn default() -> CollectionRequestModel
fn default() -> CollectionRequestModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CollectionRequestModel
impl<'de> Deserialize<'de> for CollectionRequestModel
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 CollectionRequestModel
impl PartialEq for CollectionRequestModel
Source§impl Serialize for CollectionRequestModel
impl Serialize for CollectionRequestModel
impl StructuralPartialEq for CollectionRequestModel
Auto Trait Implementations§
impl Freeze for CollectionRequestModel
impl RefUnwindSafe for CollectionRequestModel
impl Send for CollectionRequestModel
impl Sync for CollectionRequestModel
impl Unpin for CollectionRequestModel
impl UnwindSafe for CollectionRequestModel
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