#[non_exhaustive]pub struct TableCodecFallbackReason {
pub reason: String,
pub messages: Vec<String>,
}Expand description
Why some messages selected for CodecStrategy::Table fell back to
CodecStrategy::Unrolled, for
CodeGenWarning::TableCodecFallbackSummary.
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.reason: StringThe reason as a predicate, such as has a group field. The wording is for
people and may change between releases.
messages: Vec<String>The proto paths of all of them, with a leading dot, in declaration order.
Trait Implementations§
Source§impl Clone for TableCodecFallbackReason
impl Clone for TableCodecFallbackReason
Source§impl Debug for TableCodecFallbackReason
impl Debug for TableCodecFallbackReason
impl Eq for TableCodecFallbackReason
Source§impl PartialEq for TableCodecFallbackReason
impl PartialEq for TableCodecFallbackReason
impl StructuralPartialEq for TableCodecFallbackReason
Auto Trait Implementations§
impl Forget for TableCodecFallbackReason
impl Freeze for TableCodecFallbackReason
impl Move for TableCodecFallbackReason
impl RefUnwindSafe for TableCodecFallbackReason
impl Send for TableCodecFallbackReason
impl Sync for TableCodecFallbackReason
impl Unpin for TableCodecFallbackReason
impl UnsafeUnpin for TableCodecFallbackReason
impl UnwindSafe for TableCodecFallbackReason
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