#[non_exhaustive]pub struct ResourceSpec {
pub name: String,
pub type: Type,
pub read_access_mode: AccessMode,
/* private fields */
}Expand description
Identifies the cloud resource that is referenced by this asset.
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.name: StringImmutable. Relative name of the cloud resource that contains the data
that is being managed within a lake. For example:
projects/{project_number}/buckets/{bucket_id}
projects/{project_number}/datasets/{dataset_id}
type: TypeRequired. Immutable. Type of resource.
read_access_mode: AccessModeOptional. Determines how read permissions are handled for each asset and their associated tables. Only available to storage buckets assets.
Implementations§
Source§impl ResourceSpec
impl ResourceSpec
Trait Implementations§
Source§impl Clone for ResourceSpec
impl Clone for ResourceSpec
Source§fn clone(&self) -> ResourceSpec
fn clone(&self) -> ResourceSpec
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 ResourceSpec
impl Debug for ResourceSpec
Source§impl Default for ResourceSpec
impl Default for ResourceSpec
Source§fn default() -> ResourceSpec
fn default() -> ResourceSpec
Returns the “default value” for a type. Read more
Source§impl Message for ResourceSpec
impl Message for ResourceSpec
Source§impl PartialEq for ResourceSpec
impl PartialEq for ResourceSpec
impl StructuralPartialEq for ResourceSpec
Auto Trait Implementations§
impl Freeze for ResourceSpec
impl RefUnwindSafe for ResourceSpec
impl Send for ResourceSpec
impl Sync for ResourceSpec
impl Unpin for ResourceSpec
impl UnwindSafe for ResourceSpec
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