pub struct ConstraintHasOne {
pub join_target: Ident,
pub error: Option<Expr>,
}Fields§
§join_target: Ident§error: Option<Expr>Trait Implementations§
Source§impl Clone for ConstraintHasOne
impl Clone for ConstraintHasOne
Source§fn clone(&self) -> ConstraintHasOne
fn clone(&self) -> ConstraintHasOne
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 Parse for ConstraintHasOne
impl Parse for ConstraintHasOne
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl Freeze for ConstraintHasOne
impl RefUnwindSafe for ConstraintHasOne
impl !Send for ConstraintHasOne
impl !Sync for ConstraintHasOne
impl Unpin for ConstraintHasOne
impl UnsafeUnpin for ConstraintHasOne
impl UnwindSafe for ConstraintHasOne
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