pub struct PackageInput { /* private fields */ }Expand description
A package as a caller holds it across the JSON boundary: the crate::prepare::Prepared it
got earlier (prepare’s result, as serialized) and the items preparation does not read. Only
prepared.selection is read; the rest is ignored.
Trait Implementations§
Source§impl Debug for PackageInput
impl Debug for PackageInput
Source§impl<'de> Deserialize<'de> for PackageInput
impl<'de> Deserialize<'de> for PackageInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<PackageInput> for PackageView
impl From<PackageInput> for PackageView
Source§fn from(input: PackageInput) -> Self
fn from(input: PackageInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for PackageInput
impl Freeze for PackageInputwhere
*const u8 is !null: Freeze,
PhantomData<Definition>: Freeze,
PhantomData<Request>: Freeze,
PhantomData<String>: Freeze,
PhantomData<Item>: Freeze,
impl Move for PackageInput
impl RefUnwindSafe for PackageInput
impl Send for PackageInputwhere
RawVecInner: Send,
impl Sync for PackageInputwhere
RawVecInner: Sync,
impl Unpin for PackageInput
impl UnsafeUnpin for PackageInputwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Definition>: UnsafeUnpin,
PhantomData<Request>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<Item>: UnsafeUnpin,
impl UnwindSafe for PackageInputwhere
RawVecInner: UnwindSafe,
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