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 type: Option<CollectionType>,
pub default_user_collection_email: Option<String>,
pub read_only: Option<bool>,
pub hide_passwords: Option<bool>,
pub manage: Option<bool>,
pub has_enabled_access_rule: 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>§type: Option<CollectionType>§default_user_collection_email: Option<String>§read_only: Option<bool>§hide_passwords: Option<bool>§manage: Option<bool>§has_enabled_access_rule: Option<bool>True if the collection is governed by an access rule that is currently enabled. Lets a client mark the collection as privileged without reading the organization’s access rules.
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 duplicate of the value. Read more
1.0.0 (const: unstable) · 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
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 UnsafeUnpin for CollectionDetailsResponseModel
impl UnwindSafe for CollectionDetailsResponseModel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> CompatExt for T
impl<T> CompatExt for T
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
Consume a handle, getting back the initial
Arc<> Read more