Struct varlink::Request[][src]

pub struct Request<'a> {
    pub more: Option<bool>,
    pub oneway: Option<bool>,
    pub upgrade: Option<bool>,
    pub method: Cow<'a, str>,
    pub parameters: Option<Value>,
}

The structure of a varlink request. Used to serialize json into it.

There should be no need to use this directly.

Fields

Methods

impl<'a> Request<'a>
[src]

Trait Implementations

impl<'a> Debug for Request<'a>
[src]

Formats the value using the given formatter. Read more

impl<'a> PartialEq for Request<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a> Default for Request<'a>
[src]

Returns the "default value" for a type. Read more

impl<'a> Clone for Request<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<'a> Send for Request<'a>

impl<'a> Sync for Request<'a>