Skip to main content

Request

Struct Request 

Source
pub struct Request {
    pub root: Vec<Dependency>,
    pub supplied: BTreeMap<String, Arc<Prepared>>,
    pub overrides: BTreeMap<String, String>,
    pub locked: BTreeMap<String, LockedDependency>,
    pub mode: Mode,
    pub engine: Engine,
    pub bounds: Bounds,
}

Fields§

§root: Vec<Dependency>§supplied: BTreeMap<String, Arc<Prepared>>

A package’s preparation replaced, its source still answered.

§overrides: BTreeMap<String, String>

Local overrides by name: the path that replaces the source of every entry of that name.

§locked: BTreeMap<String, LockedDependency>§mode: Mode§engine: Engine§bounds: Bounds

Auto Trait Implementations§

§

impl Forget for Request

§

impl Freeze for Request
where *const u8 is !null: Freeze, PhantomData<Dependency>: Freeze, *const LeafNode<String, Arc<Prepared>> is !null: Freeze, PhantomData<(Owned, LeafOrInternal)>: Freeze, PhantomData<Box<(String, Arc<Prepared>)>>: Freeze, *const LeafNode<String, String> is !null: Freeze, PhantomData<Box<(String, String)>>: Freeze, *const LeafNode<String, LockedDependency> is !null: Freeze, PhantomData<Box<(String, LockedDependency)>>: Freeze, *const LeafNode<String, SetValZST> is !null: Freeze, PhantomData<Box<(String, SetValZST)>>: Freeze, PhantomData<u8>: Freeze,

§

impl Move for Request

§

impl RefUnwindSafe for Request

§

impl Send for Request
where RawVecInner: Send, Identifier: Send, NodeRef<Owned, String, Arc<Prepared>, LeafOrInternal>: Send, BoxRaw<(String, Arc<Prepared>)>: Send, NodeRef<Owned, String, String, LeafOrInternal>: Send, BoxRaw<(String, String)>: Send, NodeRef<Owned, String, LockedDependency, LeafOrInternal>: Send, BoxRaw<(String, LockedDependency)>: Send, NodeRef<Owned, String, SetValZST, LeafOrInternal>: Send, BoxRaw<(String, SetValZST)>: Send,

§

impl Sync for Request
where RawVecInner: Sync, Identifier: Sync, NodeRef<Owned, String, Arc<Prepared>, LeafOrInternal>: Sync, BoxRaw<(String, Arc<Prepared>)>: Sync, NodeRef<Owned, String, String, LeafOrInternal>: Sync, BoxRaw<(String, String)>: Sync, NodeRef<Owned, String, LockedDependency, LeafOrInternal>: Sync, BoxRaw<(String, LockedDependency)>: Sync, NodeRef<Owned, String, SetValZST, LeafOrInternal>: Sync, BoxRaw<(String, SetValZST)>: Sync,

§

impl Unpin for Request
where *const u8 is !null: Unpin, *const LeafNode<String, Arc<Prepared>> is !null: Unpin, Box<(String, Arc<Prepared>)>: Unpin, *const LeafNode<String, String> is !null: Unpin, Box<(String, String)>: Unpin, *const LeafNode<String, LockedDependency> is !null: Unpin, Box<(String, LockedDependency)>: Unpin, *const LeafNode<String, SetValZST> is !null: Unpin, Box<(String, SetValZST)>: Unpin,

§

impl UnsafeUnpin for Request

§

impl UnwindSafe for Request

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.