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