pub struct Request {
pub request: String,
pub architecture: String,
pub architectures: Option<String>,
pub actions: Actions,
pub preferences: Preferences,
}
Expand description
The request stanza of a Scenario
.
Fields§
§request: String
The EDSP protocol used to communicate with APT.
architecture: String
The name of the native architecture on the user machine.
architectures: Option<String>
A space separated list of all architectures known to APT.
actions: Actions
The action fields in a Request
stanza.
preferences: Preferences
The preference fields in a Request
stanza.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Request
impl<'de> Deserialize<'de> for Request
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
impl Eq for Request
impl StructuralPartialEq for Request
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnwindSafe for Request
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