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