pub struct StringListData {
pub result_type: String,
pub items: Vec<String>,
}Expand description
Response data for string lists (metric list, metric labels).
Fields§
§result_type: StringResult type discriminator (e.g., "metric_list", "label_list").
items: Vec<String>List of string values.
Trait Implementations§
Source§impl Clone for StringListData
impl Clone for StringListData
Source§fn clone(&self) -> StringListData
fn clone(&self) -> StringListData
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 StringListData
impl Debug for StringListData
Source§impl<'de> Deserialize<'de> for StringListData
impl<'de> Deserialize<'de> for StringListData
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
Auto Trait Implementations§
impl Freeze for StringListData
impl RefUnwindSafe for StringListData
impl Send for StringListData
impl Sync for StringListData
impl Unpin for StringListData
impl UnsafeUnpin for StringListData
impl UnwindSafe for StringListData
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