pub struct DatasetAccessEntry {
pub dataset: Option<DatasetReference>,
pub target_types: Option<Vec<String>>,
}Expand description
Grants all resources of particular types in a particular dataset read access to the current dataset. Similar to how individually authorized views work, updates to any resource granted through its dataset (including creation of new resources) requires read permission to referenced resources, plus write permission to the authorizing dataset.
This type is not used in any activity, and only used as part of another schema.
Fields§
§dataset: Option<DatasetReference>The dataset this entry applies to
target_types: Option<Vec<String>>Which resources in the dataset this entry applies to. Currently, only views are supported, but additional target types may be added in the future.
Trait Implementations§
Source§impl Clone for DatasetAccessEntry
impl Clone for DatasetAccessEntry
Source§fn clone(&self) -> DatasetAccessEntry
fn clone(&self) -> DatasetAccessEntry
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 DatasetAccessEntry
impl Debug for DatasetAccessEntry
Source§impl Default for DatasetAccessEntry
impl Default for DatasetAccessEntry
Source§fn default() -> DatasetAccessEntry
fn default() -> DatasetAccessEntry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DatasetAccessEntry
impl<'de> Deserialize<'de> for DatasetAccessEntry
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 Serialize for DatasetAccessEntry
impl Serialize for DatasetAccessEntry
impl Part for DatasetAccessEntry
Auto Trait Implementations§
impl Freeze for DatasetAccessEntry
impl RefUnwindSafe for DatasetAccessEntry
impl Send for DatasetAccessEntry
impl Sync for DatasetAccessEntry
impl Unpin for DatasetAccessEntry
impl UnwindSafe for DatasetAccessEntry
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