pub struct ResourceInfo {
pub name: String,
pub plural_name: String,
pub slug: String,
pub icon: String,
pub path_list: String,
pub path_new: String,
pub path_edit: String,
pub path_delete: String,
}Expand description
Information about a resource for serialization (e.g. for Tera templates).
Fields§
§name: String§plural_name: String§slug: String§icon: String§path_list: String§path_new: String§path_edit: String§path_delete: StringTrait Implementations§
Source§impl Debug for ResourceInfo
impl Debug for ResourceInfo
Auto Trait Implementations§
impl Freeze for ResourceInfo
impl RefUnwindSafe for ResourceInfo
impl Send for ResourceInfo
impl Sync for ResourceInfo
impl Unpin for ResourceInfo
impl UnsafeUnpin for ResourceInfo
impl UnwindSafe for ResourceInfo
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