pub struct InlineView {
pub model_name: String,
pub verbose_name: String,
pub rows: Vec<InlineRow>,
pub extra: usize,
pub can_delete: bool,
pub fields: Vec<String>,
}Expand description
Inline view for related data
Fields§
§model_name: StringModel name
verbose_name: StringVerbose name
rows: Vec<InlineRow>Rows
extra: usizeExtra empty rows
can_delete: boolCan delete?
fields: Vec<String>Fields to display
Trait Implementations§
Source§impl Clone for InlineView
impl Clone for InlineView
Source§fn clone(&self) -> InlineView
fn clone(&self) -> InlineView
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 InlineView
impl Debug for InlineView
Source§impl<'de> Deserialize<'de> for InlineView
impl<'de> Deserialize<'de> for InlineView
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for InlineView
impl RefUnwindSafe for InlineView
impl Send for InlineView
impl Sync for InlineView
impl Unpin for InlineView
impl UnwindSafe for InlineView
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