#[non_exhaustive]pub struct DatasetResponseSingle {
pub data: Option<DatasetResponse>,
pub additional_properties: BTreeMap<String, Value>,
/* private fields */
}
Expand description
Response containing a single dataset object.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.data: Option<DatasetResponse>
Datasets Object Constraints
-
Tag Limit per Dataset:
- Each restricted dataset supports a maximum of 10 key:value pairs per product.
-
Tag Key Rules per Telemetry Type:
- Only one tag key or attribute may be used to define access within a single telemetry type.
- The same or different tag key may be used across different telemetry types.
-
Tag Value Uniqueness:
- Tag values must be unique within a single dataset.
- A tag value used in one dataset cannot be reused in another dataset of the same telemetry type.
additional_properties: BTreeMap<String, Value>
Implementations§
Source§impl DatasetResponseSingle
impl DatasetResponseSingle
pub fn new() -> DatasetResponseSingle
pub fn data(self, value: DatasetResponse) -> Self
pub fn additional_properties(self, value: BTreeMap<String, Value>) -> Self
Trait Implementations§
Source§impl Clone for DatasetResponseSingle
impl Clone for DatasetResponseSingle
Source§fn clone(&self) -> DatasetResponseSingle
fn clone(&self) -> DatasetResponseSingle
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 DatasetResponseSingle
impl Debug for DatasetResponseSingle
Source§impl Default for DatasetResponseSingle
impl Default for DatasetResponseSingle
Source§impl<'de> Deserialize<'de> for DatasetResponseSingle
impl<'de> Deserialize<'de> for DatasetResponseSingle
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 DatasetResponseSingle
impl PartialEq for DatasetResponseSingle
Source§impl Serialize for DatasetResponseSingle
impl Serialize for DatasetResponseSingle
impl StructuralPartialEq for DatasetResponseSingle
Auto Trait Implementations§
impl Freeze for DatasetResponseSingle
impl RefUnwindSafe for DatasetResponseSingle
impl Send for DatasetResponseSingle
impl Sync for DatasetResponseSingle
impl Unpin for DatasetResponseSingle
impl UnwindSafe for DatasetResponseSingle
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