pub struct FactSelect {
pub deprecated: String,
pub field_type: Option<String>,
pub id: i64,
pub name: String,
pub name_translated: String,
pub sort_key: i64,
pub options: Vec<String>,
pub type: String,
pub extra: Map<String, Value>,
}Expand description
Stored selection definition. options contains the literal labels accepted when writing event values; legacy definitions can have an empty list.
Fields§
§deprecated: StringDeprecated response field that points clients from fieldType to type.
field_type: Option<String>👎Deprecated:
deprecated in the ChurchTools API
Legacy alias for type.
Allowed values: number, select.
id: i64ID of the fact master data entry.
name: StringStored label of the metric or selection.
name_translated: StringLabel translated for the current language, falling back to name.
sort_key: i64Sort key for ordering facts.
options: Vec<String>Allowed values for select facts.
type: StringAllowed values: select.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for FactSelect
impl Clone for FactSelect
Source§impl Debug for FactSelect
impl Debug for FactSelect
Source§impl Default for FactSelect
impl Default for FactSelect
Source§impl<'de> Deserialize<'de> for FactSelect
impl<'de> Deserialize<'de> for FactSelect
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 FactSelect
impl PartialEq for FactSelect
Source§impl Serialize for FactSelect
impl Serialize for FactSelect
impl StructuralPartialEq for FactSelect
Auto Trait Implementations§
impl Freeze for FactSelect
impl RefUnwindSafe for FactSelect
impl Send for FactSelect
impl Sync for FactSelect
impl Unpin for FactSelect
impl UnsafeUnpin for FactSelect
impl UnwindSafe for FactSelect
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