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