pub struct Carousel {
pub children: Vec<LenraComponent>,
pub options: Option<StylesCarouselOptions>,
pub type_: Value,
}Expand description
Element of type Carousel
Fields§
§children: Vec<LenraComponent>The children
options: Option<StylesCarouselOptions>§type_: ValueThe identifier of the component
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Carousel
impl<'de> Deserialize<'de> for Carousel
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 From<Carousel> for LenraComponent
impl From<Carousel> for LenraComponent
Auto Trait Implementations§
impl Freeze for Carousel
impl RefUnwindSafe for Carousel
impl Send for Carousel
impl Sync for Carousel
impl Unpin for Carousel
impl UnsafeUnpin for Carousel
impl UnwindSafe for Carousel
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