pub struct WorkerScaffold {
pub plan: ConnectionPlan,
pub files: Vec<ScaffoldedFile>,
}Expand description
A rendered scaffold: the connection plan it was derived from, and the files that realise it.
Fields§
§plan: ConnectionPlanThe plan — one connection per node — the emitted crate implements.
files: Vec<ScaffoldedFile>Every file to write, in a deterministic order.
Trait Implementations§
Source§impl Clone for WorkerScaffold
impl Clone for WorkerScaffold
Source§fn clone(&self) -> WorkerScaffold
fn clone(&self) -> WorkerScaffold
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for WorkerScaffold
impl RefUnwindSafe for WorkerScaffold
impl Send for WorkerScaffold
impl Sync for WorkerScaffold
impl Unpin for WorkerScaffold
impl UnsafeUnpin for WorkerScaffold
impl UnwindSafe for WorkerScaffold
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