#[non_exhaustive]pub struct StateMessage {
pub severity: Severity,
pub type: String,
pub message: String,
/* private fields */
}
Expand description
Informational messages about the state of the Cloud Function or Operation.
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.severity: Severity
Severity of the state message.
type: String
One-word CamelCase type of the state message.
message: String
The message.
Implementations§
Source§impl StateMessage
impl StateMessage
Trait Implementations§
Source§impl Clone for StateMessage
impl Clone for StateMessage
Source§fn clone(&self) -> StateMessage
fn clone(&self) -> StateMessage
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 StateMessage
impl Debug for StateMessage
Source§impl Default for StateMessage
impl Default for StateMessage
Source§fn default() -> StateMessage
fn default() -> StateMessage
Returns the “default value” for a type. Read more
Source§impl Message for StateMessage
impl Message for StateMessage
Source§impl PartialEq for StateMessage
impl PartialEq for StateMessage
impl StructuralPartialEq for StateMessage
Auto Trait Implementations§
impl Freeze for StateMessage
impl RefUnwindSafe for StateMessage
impl Send for StateMessage
impl Sync for StateMessage
impl Unpin for StateMessage
impl UnwindSafe for StateMessage
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