pub struct DashboardParameter {
pub id: String,
pub name: String,
pub slug: String,
pub parameter_type: String,
pub default: Option<Value>,
}
Expand description
Represents a parameter on a dashboard for filtering
Fields§
§id: String
Parameter ID
name: String
Parameter name
slug: String
Parameter slug for URL
parameter_type: String
Parameter type (e.g., “category”, “date”, “number”)
default: Option<Value>
Default value for the parameter
Trait Implementations§
Source§impl Clone for DashboardParameter
impl Clone for DashboardParameter
Source§fn clone(&self) -> DashboardParameter
fn clone(&self) -> DashboardParameter
Returns a duplicate 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 DashboardParameter
impl Debug for DashboardParameter
Source§impl<'de> Deserialize<'de> for DashboardParameter
impl<'de> Deserialize<'de> for DashboardParameter
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 DashboardParameter
impl PartialEq for DashboardParameter
Source§impl Serialize for DashboardParameter
impl Serialize for DashboardParameter
impl StructuralPartialEq for DashboardParameter
Auto Trait Implementations§
impl Freeze for DashboardParameter
impl RefUnwindSafe for DashboardParameter
impl Send for DashboardParameter
impl Sync for DashboardParameter
impl Unpin for DashboardParameter
impl UnwindSafe for DashboardParameter
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