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 more