#[non_exhaustive]pub struct ResourceStatus {
pub state: State,
pub message: String,
pub update_time: Option<Timestamp>,
pub managed_access_identity: String,
/* private fields */
}Expand description
Status of the resource referenced by an 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.state: StateThe current state of the managed resource.
message: StringAdditional information about the current state.
update_time: Option<Timestamp>Last update time of the status.
managed_access_identity: StringOutput only. Service account associated with the BigQuery Connection.
Implementations§
Source§impl ResourceStatus
impl ResourceStatus
pub fn new() -> Self
Sourcepub fn set_message<T: Into<String>>(self, v: T) -> Self
pub fn set_message<T: Into<String>>(self, v: T) -> Self
Sets the value of message.
Sourcepub fn set_update_time<T>(self, v: T) -> Self
pub fn set_update_time<T>(self, v: T) -> Self
Sets the value of update_time.
Sourcepub fn set_or_clear_update_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_update_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of update_time.
Sourcepub fn set_managed_access_identity<T: Into<String>>(self, v: T) -> Self
pub fn set_managed_access_identity<T: Into<String>>(self, v: T) -> Self
Sets the value of managed_access_identity.
Trait Implementations§
Source§impl Clone for ResourceStatus
impl Clone for ResourceStatus
Source§fn clone(&self) -> ResourceStatus
fn clone(&self) -> ResourceStatus
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 ResourceStatus
impl Debug for ResourceStatus
Source§impl Default for ResourceStatus
impl Default for ResourceStatus
Source§fn default() -> ResourceStatus
fn default() -> ResourceStatus
Returns the “default value” for a type. Read more
Source§impl Message for ResourceStatus
impl Message for ResourceStatus
Source§impl PartialEq for ResourceStatus
impl PartialEq for ResourceStatus
impl StructuralPartialEq for ResourceStatus
Auto Trait Implementations§
impl Freeze for ResourceStatus
impl RefUnwindSafe for ResourceStatus
impl Send for ResourceStatus
impl Sync for ResourceStatus
impl Unpin for ResourceStatus
impl UnwindSafe for ResourceStatus
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