#[non_exhaustive]pub struct FieldIssue {
pub field: Option<String>,
pub issue: Option<String>,
pub allowed_values: Option<Vec<String>>,
pub constraints: Option<BTreeMap<String, String>>,
}Expand description
One entry of ApiError::errors.
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.field: Option<String>The request property, e.g. eventTypes.
issue: Option<String>What is wrong with it.
allowed_values: Option<Vec<String>>The values the server accepts, for closed vocabularies.
constraints: Option<BTreeMap<String, String>>Rule name to text, only on stream errors (connection.error details).
Trait Implementations§
Source§impl Clone for FieldIssue
impl Clone for FieldIssue
Source§impl Debug for FieldIssue
impl Debug for FieldIssue
Source§impl Default for FieldIssue
impl Default for FieldIssue
impl Eq for FieldIssue
Source§impl PartialEq for FieldIssue
impl PartialEq for FieldIssue
impl StructuralPartialEq for FieldIssue
Auto Trait Implementations§
impl Forget for FieldIssue
impl Freeze for FieldIssuewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
*const LeafNode<String, String> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, String)>>: Freeze,
impl Move for FieldIssue
impl RefUnwindSafe for FieldIssue
impl Send for FieldIssue
impl Sync for FieldIssue
impl Unpin for FieldIssue
impl UnsafeUnpin for FieldIssuewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
impl UnwindSafe for FieldIssue
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