#[non_exhaustive]pub struct StatusDetail {
pub type_url: String,
pub rest: Rest,
}Expand description
google.rpc.Status.details is a list of protobuf Any objects. Discovery explicitly permits arbitrary payload properties; @type identifies their schema.
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.type_url: String§rest: RestImplementations§
Source§impl StatusDetail
impl StatusDetail
Sourcepub fn builder(type_url: String) -> StatusDetailBuilder
pub fn builder(type_url: String) -> StatusDetailBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for StatusDetail
impl Clone for StatusDetail
Source§impl Debug for StatusDetail
impl Debug for StatusDetail
Source§impl DeclaredFields for StatusDetail
impl DeclaredFields for StatusDetail
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for StatusDetail
impl<'de> Deserialize<'de> for StatusDetail
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
impl Eq for StatusDetail
Source§impl PartialEq for StatusDetail
impl PartialEq for StatusDetail
Source§impl Serialize for StatusDetail
impl Serialize for StatusDetail
impl StructuralPartialEq for StatusDetail
Auto Trait Implementations§
impl Freeze for StatusDetail
impl RefUnwindSafe for StatusDetail
impl Send for StatusDetail
impl Sync for StatusDetail
impl Unpin for StatusDetail
impl UnsafeUnpin for StatusDetail
impl UnwindSafe for StatusDetail
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