pub struct UsedBy {
pub app: String,
pub model_name: String,
pub pk: String,
pub name: String,
pub action: UsedByActionEnum,
}
Expand description
UsedBy : A list of all objects referencing the queried object
Fields§
§app: String
§model_name: String
§pk: String
§name: String
§action: UsedByActionEnum
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UsedBy
impl<'de> Deserialize<'de> for UsedBy
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
impl StructuralPartialEq for UsedBy
Auto Trait Implementations§
impl Freeze for UsedBy
impl RefUnwindSafe for UsedBy
impl Send for UsedBy
impl Sync for UsedBy
impl Unpin for UsedBy
impl UnwindSafe for UsedBy
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