pub enum NewCode {
Show 16 variants
AccountScreen {
area: String,
screen: AccountScreen,
},
Area {
module: String,
name: String,
access: AreaAccess,
},
Impersonation {
permitted: String,
member: String,
},
Tenancy {
organization: String,
member: String,
},
Mail {
module: String,
name: String,
list: Option<String>,
},
Migration {
module: String,
name: String,
},
SchemaMigration {
module: String,
name: String,
},
Aggregate {
module: String,
name: String,
},
Event {
module: String,
name: String,
},
Listener {
module: String,
event: String,
handler: String,
},
MenuEntry(NewMenuEntry),
Plan {
module: String,
name: String,
},
Route(NewRoute),
Task {
module: String,
name: String,
},
Topic {
module: String,
name: String,
},
Search {
module: String,
aggregate: String,
},
}Variants§
AccountScreen
One of sofie-identity’s screens of a member’s own account, mounted for a member area.
Area
An area defined in the module’s contract, with a first page.
Impersonation
Signing in as a member of member, for a permitted principal of permitted.
Tenancy
Organizations acting in organization, listed and joined in member.
A mail template and the function sending it; bulk mail of a list with one.
Migration
SchemaMigration
sofie gen migration: what the aggregates declare beyond what the migrations create.
Aggregate
Event
Listener
MenuEntry(NewMenuEntry)
Plan
A plan in the module’s src/plans.rs, sofie-billing’s catalog.
Route(NewRoute)
Task
Topic
A sofie-notify topic named <module>.<name>, in the module’s src/topics.rs.
Search
Full-text search over an aggregate’s searched fields.
Auto Trait Implementations§
impl Forget for NewCode
impl Freeze for NewCode
impl RefUnwindSafe for NewCode
impl Send for NewCode
impl Sync for NewCode
impl Unpin for NewCode
impl UnsafeUnpin for NewCode
impl UnwindSafe for NewCode
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