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§impl Debug for RefSettings
impl Debug for RefSettings
Auto Trait Implementations§
impl Freeze for RefSettings
impl RefUnwindSafe for RefSettings
impl Send for RefSettings
impl Sync for RefSettings
impl Unpin for RefSettings
impl UnsafeUnpin 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