pub struct Dashboard { /* private fields */ }Implementations§
Source§impl Dashboard
impl Dashboard
pub fn new(title: &str) -> Dashboard
pub fn options(&mut self, options: JsonValue) -> &mut Self
pub fn api(&mut self, api: &str) -> &mut Self
pub fn data(&mut self, data: JsonValue) -> &mut Self
pub fn class(&mut self, name: &str) -> &mut Self
pub fn icon(&mut self, name: &str) -> &mut Self
pub fn model(&mut self, dashboard_model: DashboardModel) -> &mut Self
pub fn desc(&mut self, desc: &str) -> &mut Self
pub fn json(&self) -> JsonValue
Auto Trait Implementations§
impl Freeze for Dashboard
impl RefUnwindSafe for Dashboard
impl Send for Dashboard
impl Sync for Dashboard
impl Unpin for Dashboard
impl UnwindSafe for Dashboard
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