pub struct Brand {
pub name: String,
pub logo: Option<String>,
}Expand description
Branding for the admin shell: the sidebar header, the login card, and the
topbar below md, where the sidebar folds into a sheet.
Fields§
§name: StringDisplay name (e.g. "Acme").
logo: Option<String>Optional logo URL (e.g. "/logo.svg"). Rendered as an <img> when present.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Brand
impl RefUnwindSafe for Brand
impl Send for Brand
impl Sync for Brand
impl Unpin for Brand
impl UnsafeUnpin for Brand
impl UnwindSafe for Brand
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