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