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