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
more: Option<bool>
oneway: Option<bool>
upgrade: Option<bool>
method: Cow<'a, str>
parameters: Option<Value>
Methods
impl<'a> Request<'a>
[src]
impl<'a> Request<'a>
Trait Implementations
impl<'a> Debug for Request<'a>
[src]
impl<'a> Debug for Request<'a>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a> PartialEq for Request<'a>
[src]
impl<'a> PartialEq for Request<'a>
fn eq(&self, other: &Request<'a>) -> bool
[src]
fn eq(&self, other: &Request<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Request<'a>) -> bool
[src]
fn ne(&self, other: &Request<'a>) -> bool
This method tests for !=
.
impl<'a> Default for Request<'a>
[src]
impl<'a> Default for Request<'a>
impl<'a> Clone for Request<'a>
[src]
impl<'a> Clone for Request<'a>