pub struct InitOp {
pub name: Identifier,
pub params: Vec<ParamDecl>,
pub raises: Vec<ScopedName>,
}Expand description
Configuration of a factory or finder operation entry provided by the caller. Spec §6.7.3.1 / §6.7.3.2.
Fields§
§name: IdentifierOperation name (e.g. create_widget).
params: Vec<ParamDecl>Parameter list (all in).
raises: Vec<ScopedName>Caller-declared raises clause (extended per Spec §6.7.3.1.2
with CreateFailure or FinderFailure respectively).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InitOp
impl RefUnwindSafe for InitOp
impl Send for InitOp
impl Sync for InitOp
impl Unpin for InitOp
impl UnsafeUnpin for InitOp
impl UnwindSafe for InitOp
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