Struct dbml_rs::ast::refs::RefSettings
source · pub struct RefSettings {
pub on_delete: Option<ReferentialAction>,
pub on_update: Option<ReferentialAction>,
}Fields§
§on_delete: Option<ReferentialAction>§on_update: Option<ReferentialAction>Trait Implementations§
source§impl Clone for RefSettings
impl Clone for RefSettings
source§fn clone(&self) -> RefSettings
fn clone(&self) -> RefSettings
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 moresource§impl Debug for RefSettings
impl Debug for RefSettings
source§impl Default for RefSettings
impl Default for RefSettings
source§fn default() -> RefSettings
fn default() -> RefSettings
Returns the “default value” for a type. Read more
source§impl PartialEq<RefSettings> for RefSettings
impl PartialEq<RefSettings> for RefSettings
source§fn eq(&self, other: &RefSettings) -> bool
fn eq(&self, other: &RefSettings) -> bool
This method tests for
self and other values to be equal, and is used
by ==.