pub struct CustomProps {
pub key: String,
pub name: String,
pub type: String,
pub options: Option<Vec<String>>,
}Expand description
Custom property
Fields§
§key: String§name: String§type: String§options: Option<Vec<String>>Trait Implementations§
Source§impl Clone for CustomProps
impl Clone for CustomProps
Source§fn clone(&self) -> CustomProps
fn clone(&self) -> CustomProps
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 CustomProps
impl Debug for CustomProps
Source§impl Default for CustomProps
impl Default for CustomProps
Source§fn default() -> CustomProps
fn default() -> CustomProps
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CustomPropswhere
CustomProps: Default,
impl<'de> Deserialize<'de> for CustomPropswhere
CustomProps: Default,
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
Auto Trait Implementations§
impl Freeze for CustomProps
impl RefUnwindSafe for CustomProps
impl Send for CustomProps
impl Sync for CustomProps
impl Unpin for CustomProps
impl UnwindSafe for CustomProps
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