pub struct EuvResultProps {
pub code: &'static str,
pub title: &'static str,
pub description: &'static str,
}Expand description
Props for the euv_result component.
Fields§
§code: &'static strThe big status code (e.g. "404", skipped when empty).
title: &'static strThe result title (skipped when empty).
description: &'static strThe description rendered under the title (skipped when empty).
Implementations§
Source§impl EuvResultProps
impl EuvResultProps
pub fn get_code(&self) -> &'static str
pub fn get_mut_code(&mut self) -> &mut &'static str
pub fn set_code(&mut self, val: &'static str) -> &mut Self
pub fn get_title(&self) -> &'static str
pub fn get_mut_title(&mut self) -> &mut &'static str
pub fn set_title(&mut self, val: &'static str) -> &mut Self
pub fn get_description(&self) -> &'static str
pub fn get_mut_description(&mut self) -> &mut &'static str
pub fn set_description(&mut self, val: &'static str) -> &mut Self
Trait Implementations§
Source§impl Clone for EuvResultProps
impl Clone for EuvResultProps
Source§fn clone(&self) -> EuvResultProps
fn clone(&self) -> EuvResultProps
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EuvResultProps
Source§impl Debug for EuvResultProps
impl Debug for EuvResultProps
Source§impl Default for EuvResultProps
impl Default for EuvResultProps
Source§fn default() -> EuvResultProps
fn default() -> EuvResultProps
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EuvResultProps
impl RefUnwindSafe for EuvResultProps
impl Send for EuvResultProps
impl Sync for EuvResultProps
impl Unpin for EuvResultProps
impl UnsafeUnpin for EuvResultProps
impl UnwindSafe for EuvResultProps
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