pub struct MigrationWarning {
pub action_item: Option<LocalizedMessage>,
pub code: Option<String>,
pub help_links: Option<Vec<Link>>,
pub warning_message: Option<LocalizedMessage>,
pub warning_time: Option<DateTime<Utc>>,
}Expand description
Represents migration resource warning information that can be used with google.rpc.Status message. MigrationWarning is used to present the user with warning information in migration operations.
This type is not used in any activity, and only used as part of another schema.
Fields§
§action_item: Option<LocalizedMessage>Output only. Suggested action for solving the warning.
code: Option<String>The warning code.
help_links: Option<Vec<Link>>Output only. URL(s) pointing to additional information on handling the current warning.
warning_message: Option<LocalizedMessage>Output only. The localized warning message.
warning_time: Option<DateTime<Utc>>The time the warning occurred.
Trait Implementations§
Source§impl Clone for MigrationWarning
impl Clone for MigrationWarning
Source§fn clone(&self) -> MigrationWarning
fn clone(&self) -> MigrationWarning
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 MigrationWarning
impl Debug for MigrationWarning
Source§impl Default for MigrationWarning
impl Default for MigrationWarning
Source§fn default() -> MigrationWarning
fn default() -> MigrationWarning
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MigrationWarning
impl<'de> Deserialize<'de> for MigrationWarning
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 MigrationWarning
impl Serialize for MigrationWarning
impl Part for MigrationWarning
Auto Trait Implementations§
impl Freeze for MigrationWarning
impl RefUnwindSafe for MigrationWarning
impl Send for MigrationWarning
impl Sync for MigrationWarning
impl Unpin for MigrationWarning
impl UnwindSafe for MigrationWarning
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more