pub struct NonNullableContext<'a> {
pub ident: &'a Ident,
pub fields: &'a [Ident],
pub runtime: &'a Path,
pub flag: &'a Ident,
}Expand description
What an integration knows of the merge patch DTO deriving
ValidateNonNullable it adds to.
Fields§
§ident: &'a IdentThe DTO.
fields: &'a [Ident]The DTO’s fields, by the names clients send.
runtime: &'a PathThe runtime crate the generated code names.
flag: &'a IdentThe integration’s flag, as written in #[validate_non_nullable(...)].
Auto Trait Implementations§
impl<'a> !Send for NonNullableContext<'a>
impl<'a> !Sync for NonNullableContext<'a>
impl<'a> Freeze for NonNullableContext<'a>
impl<'a> RefUnwindSafe for NonNullableContext<'a>
impl<'a> Unpin for NonNullableContext<'a>
impl<'a> UnsafeUnpin for NonNullableContext<'a>
impl<'a> UnwindSafe for NonNullableContext<'a>
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