pub struct AuthAttributes {
pub role: EntityRole,
pub secondary_storage: bool,
pub table: Option<String>,
pub id_generator: Option<Path>,
}Expand description
Parsed #[auth(...)] container attributes.
Fields§
§role: EntityRole§secondary_storage: bool§table: Option<String>§id_generator: Option<Path>Application ID factory; returns a String compatible with existing columns.
Trait Implementations§
Source§impl Clone for AuthAttributes
impl Clone for AuthAttributes
Auto Trait Implementations§
impl !Send for AuthAttributes
impl !Sync for AuthAttributes
impl Freeze for AuthAttributes
impl RefUnwindSafe for AuthAttributes
impl Unpin for AuthAttributes
impl UnsafeUnpin for AuthAttributes
impl UnwindSafe for AuthAttributes
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