pub struct LayerListing {
pub description: String,
pub id: Box<ProviderLayerId>,
pub name: String,
pub properties: Option<Vec<Vec<String>>>,
pub type: Type,
}Fields§
§description: String§id: Box<ProviderLayerId>§name: String§properties: Option<Vec<Vec<String>>>properties, for instance, to be rendered in the UI
type: TypeImplementations§
Source§impl LayerListing
impl LayerListing
pub fn new( description: String, id: ProviderLayerId, name: String, type: Type, ) -> LayerListing
Trait Implementations§
Source§impl Clone for LayerListing
impl Clone for LayerListing
Source§fn clone(&self) -> LayerListing
fn clone(&self) -> LayerListing
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 LayerListing
impl Debug for LayerListing
Source§impl Default for LayerListing
impl Default for LayerListing
Source§fn default() -> LayerListing
fn default() -> LayerListing
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LayerListing
impl<'de> Deserialize<'de> for LayerListing
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 LayerListing
impl PartialEq for LayerListing
Source§impl Serialize for LayerListing
impl Serialize for LayerListing
impl StructuralPartialEq for LayerListing
Auto Trait Implementations§
impl Freeze for LayerListing
impl RefUnwindSafe for LayerListing
impl Send for LayerListing
impl Sync for LayerListing
impl Unpin for LayerListing
impl UnsafeUnpin for LayerListing
impl UnwindSafe for LayerListing
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