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