pub struct LayerCollection {
pub description: String,
pub entry_label: Option<Option<String>>,
pub id: Box<ProviderLayerCollectionId>,
pub items: Vec<CollectionItem>,
pub name: String,
pub properties: Vec<Vec<String>>,
}Fields§
§description: String§entry_label: Option<Option<String>>a common label for the collection’s entries, if there is any
id: Box<ProviderLayerCollectionId>§items: Vec<CollectionItem>§name: String§properties: Vec<Vec<String>>Implementations§
Source§impl LayerCollection
impl LayerCollection
pub fn new( description: String, id: ProviderLayerCollectionId, items: Vec<CollectionItem>, name: String, properties: Vec<Vec<String>>, ) -> LayerCollection
Trait Implementations§
Source§impl Clone for LayerCollection
impl Clone for LayerCollection
Source§fn clone(&self) -> LayerCollection
fn clone(&self) -> LayerCollection
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 LayerCollection
impl Debug for LayerCollection
Source§impl Default for LayerCollection
impl Default for LayerCollection
Source§fn default() -> LayerCollection
fn default() -> LayerCollection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LayerCollection
impl<'de> Deserialize<'de> for LayerCollection
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 LayerCollection
impl PartialEq for LayerCollection
Source§impl Serialize for LayerCollection
impl Serialize for LayerCollection
impl StructuralPartialEq for LayerCollection
Auto Trait Implementations§
impl Freeze for LayerCollection
impl RefUnwindSafe for LayerCollection
impl Send for LayerCollection
impl Sync for LayerCollection
impl Unpin for LayerCollection
impl UnsafeUnpin for LayerCollection
impl UnwindSafe for LayerCollection
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