pub struct RefSettings {
pub span_range: Range<usize>,
pub attributes: Vec<Attribute>,
pub on_delete: Option<ReferentialAction>,
pub on_update: Option<ReferentialAction>,
}
Fields§
§span_range: Range<usize>
The range of the span in the source text.
attributes: Vec<Attribute>
A vector of key and optional value pairs representing attributes of the ref.
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 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 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
Auto Trait Implementations§
impl Freeze for RefSettings
impl RefUnwindSafe for RefSettings
impl Send for RefSettings
impl Sync for RefSettings
impl Unpin for RefSettings
impl UnwindSafe for RefSettings
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