pub struct QuickAction {
pub name: String,
pub api_token: String,
pub base_url: Url,
pub org: Org,
pub bucket: String,
pub measurement: String,
pub tags: BTreeMap<String, Option<String>>,
pub fields: BTreeMap<String, UserFieldValue>,
}Expand description
Saved connection and values for quick entry of similar items if a tag is None we will need to fetch available tags on load
Fields§
§name: String§api_token: String§base_url: Url§org: Org§bucket: String§measurement: String§fields: BTreeMap<String, UserFieldValue>Trait Implementations§
Source§impl Clone for QuickAction
impl Clone for QuickAction
Source§fn clone(&self) -> QuickAction
fn clone(&self) -> QuickAction
Returns a copy 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 QuickAction
impl Debug for QuickAction
Source§impl<'de> Deserialize<'de> for QuickAction
impl<'de> Deserialize<'de> for QuickAction
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 Display for QuickAction
impl Display for QuickAction
Source§impl From<&QuickAction> for UiQuickActionSummery
impl From<&QuickAction> for UiQuickActionSummery
Source§fn from(value: &QuickAction) -> Self
fn from(value: &QuickAction) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for QuickAction
impl RefUnwindSafe for QuickAction
impl Send for QuickAction
impl Sync for QuickAction
impl Unpin for QuickAction
impl UnwindSafe for QuickAction
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