Struct xmlrpc::Fault
[−]
[src]
pub struct Fault {
pub fault_code: i32,
pub fault_string: String,
}A <fault> response - The call failed.
The XML-RPC specification requires that a <faultCode> and <faultString> is returned in the
<fault> case, further describing the error.
Fields
fault_code: i32
fault_string: String
Methods
impl Fault[src]
fn from_value(value: &Value) -> Option<Self>
Creates a Fault from a Value.
The Value must be a Value::Struct with a faultCode and faultString field.
Returns None if the value isn't a valid Fault.
Trait Implementations
impl Debug for Fault[src]
impl PartialEq for Fault[src]
fn eq(&self, __arg_0: &Fault) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Fault) -> bool
This method tests for !=.