pub struct CollectionDetailsResponseModel {
pub object: Option<String>,
pub id: Option<Uuid>,
pub organization_id: Option<Uuid>,
pub name: Option<String>,
pub external_id: Option<String>,
pub read_only: Option<bool>,
pub hide_passwords: Option<bool>,
pub manage: Option<bool>,
}
Expand description
CollectionDetailsResponseModel : Response model for a collection that is always assigned to the requesting user, including permissions.
Fields§
§object: Option<String>
§id: Option<Uuid>
§organization_id: Option<Uuid>
§name: Option<String>
§external_id: Option<String>
§read_only: Option<bool>
§hide_passwords: Option<bool>
§manage: Option<bool>
Implementations§
Source§impl CollectionDetailsResponseModel
impl CollectionDetailsResponseModel
Sourcepub fn new() -> CollectionDetailsResponseModel
pub fn new() -> CollectionDetailsResponseModel
Response model for a collection that is always assigned to the requesting user, including permissions.
Trait Implementations§
Source§impl Clone for CollectionDetailsResponseModel
impl Clone for CollectionDetailsResponseModel
Source§fn clone(&self) -> CollectionDetailsResponseModel
fn clone(&self) -> CollectionDetailsResponseModel
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 Default for CollectionDetailsResponseModel
impl Default for CollectionDetailsResponseModel
Source§fn default() -> CollectionDetailsResponseModel
fn default() -> CollectionDetailsResponseModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CollectionDetailsResponseModel
impl<'de> Deserialize<'de> for CollectionDetailsResponseModel
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 CollectionDetailsResponseModel
impl PartialEq for CollectionDetailsResponseModel
Source§fn eq(&self, other: &CollectionDetailsResponseModel) -> bool
fn eq(&self, other: &CollectionDetailsResponseModel) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CollectionDetailsResponseModel
Auto Trait Implementations§
impl Freeze for CollectionDetailsResponseModel
impl RefUnwindSafe for CollectionDetailsResponseModel
impl Send for CollectionDetailsResponseModel
impl Sync for CollectionDetailsResponseModel
impl Unpin for CollectionDetailsResponseModel
impl UnwindSafe for CollectionDetailsResponseModel
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