pub struct Plan {
pub package: Package,
pub previous: Option<Manifest>,
pub new_capabilities: Vec<Capability>,
pub native_runs: bool,
pub runs_here: bool,
}Expand description
What installing a package would do; from Installer::inspect.
Fields§
§package: PackageThe verified package.
previous: Option<Manifest>The installed manifest it replaces, if any.
new_capabilities: Vec<Capability>Capabilities not in the previous version (all of them for a first install). Ask the user about these.
native_runs: boolTrue if a native binary will run on this target; false means WASM only.
runs_here: boolTrue if the extension can run here at all (a native binary or WASM).
Trait Implementations§
Auto Trait Implementations§
impl Forget for Plan
impl Freeze for Plan
impl Move for Plan
impl RefUnwindSafe for Plan
impl Send for Plan
impl Sync for Plan
impl Unpin for Plan
impl UnsafeUnpin for Plan
impl UnwindSafe for Plan
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request