pub struct HowToStep {
pub position: usize,
pub text: String,
pub image: Option<String>,
}Expand description
HowTo step
Fields§
§position: usizeStep position (1-based)
text: StringStep instruction text
image: Option<String>Optional image URL for this step
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HowToStep
impl RefUnwindSafe for HowToStep
impl Send for HowToStep
impl Sync for HowToStep
impl Unpin for HowToStep
impl UnwindSafe for HowToStep
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