Struct bitwarden_api_api::models::collection_with_id_request_model::CollectionWithIdRequestModel
source · 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<CollectionWithIdRequestModel> for CollectionWithIdRequestModel
impl PartialEq<CollectionWithIdRequestModel> for CollectionWithIdRequestModel
source§fn eq(&self, other: &CollectionWithIdRequestModel) -> bool
fn eq(&self, other: &CollectionWithIdRequestModel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CollectionWithIdRequestModel
Auto Trait Implementations§
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