#[non_exhaustive]pub struct DatasetAttributesResponse {
pub created_at: Option<Option<DateTime<Utc>>>,
pub created_by: Option<Uuid>,
pub name: Option<String>,
pub principals: Option<Vec<String>>,
pub product_filters: Option<Vec<FiltersPerProduct>>,
pub additional_properties: BTreeMap<String, Value>,
/* private fields */
}
Expand description
Dataset metadata and configuration(s).
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.created_at: Option<Option<DateTime<Utc>>>
Timestamp when the dataset was created.
created_by: Option<Uuid>
Unique ID of the user who created the dataset.
name: Option<String>
Name of the dataset.
principals: Option<Vec<String>>
List of access principals, formatted as principal_type:id
. Principal can be ‘team’ or ‘role’.
product_filters: Option<Vec<FiltersPerProduct>>
List of product-specific filters.
additional_properties: BTreeMap<String, Value>
Implementations§
Source§impl DatasetAttributesResponse
impl DatasetAttributesResponse
pub fn new() -> DatasetAttributesResponse
pub fn created_at(self, value: Option<DateTime<Utc>>) -> Self
pub fn created_by(self, value: Uuid) -> Self
pub fn name(self, value: String) -> Self
pub fn principals(self, value: Vec<String>) -> Self
pub fn product_filters(self, value: Vec<FiltersPerProduct>) -> Self
pub fn additional_properties(self, value: BTreeMap<String, Value>) -> Self
Trait Implementations§
Source§impl Clone for DatasetAttributesResponse
impl Clone for DatasetAttributesResponse
Source§fn clone(&self) -> DatasetAttributesResponse
fn clone(&self) -> DatasetAttributesResponse
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 DatasetAttributesResponse
impl Debug for DatasetAttributesResponse
Source§impl Default for DatasetAttributesResponse
impl Default for DatasetAttributesResponse
Source§impl<'de> Deserialize<'de> for DatasetAttributesResponse
impl<'de> Deserialize<'de> for DatasetAttributesResponse
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
impl StructuralPartialEq for DatasetAttributesResponse
Auto Trait Implementations§
impl Freeze for DatasetAttributesResponse
impl RefUnwindSafe for DatasetAttributesResponse
impl Send for DatasetAttributesResponse
impl Sync for DatasetAttributesResponse
impl Unpin for DatasetAttributesResponse
impl UnwindSafe for DatasetAttributesResponse
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