Struct varlink::Reply
[−]
[src]
pub struct Reply { pub continues: Option<bool>, pub upgraded: Option<bool>, pub error: Option<Cow<'static, str>>, pub parameters: Option<Value>, }
The structure of a varlink reply. Used to deserialize it into json.
There should be no need to use this directly. See the CallTrait to use with the first Call parameter
Fields
continues: Option<bool>
upgraded: Option<bool>
error: Option<Cow<'static, str>>
parameters: Option<Value>
Methods
impl Reply
[src]
pub fn parameters(parameters: Option<Value>) -> Self
[src]
pub fn error(name: Cow<'static, str>, parameters: Option<Value>) -> Self
[src]
Trait Implementations
impl<T> From<T> for Reply where
T: VarlinkReply + Serialize,
[src]
T: VarlinkReply + Serialize,