Struct anchor_syn::ConstraintHasOne
source · pub struct ConstraintHasOne {
pub join_target: Expr,
pub error: Option<Expr>,
}
Fields§
§join_target: Expr
§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 copy 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 moreAuto Trait Implementations§
impl Freeze for ConstraintHasOne
impl RefUnwindSafe for ConstraintHasOne
impl !Send for ConstraintHasOne
impl !Sync for ConstraintHasOne
impl Unpin 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