Struct mtop_client::ValuesResponse
source · pub struct ValuesResponse {
pub values: HashMap<String, Value>,
pub errors: HashMap<ServerID, MtopError>,
}Expand description
Response for values indexed by key and errors indexed by server.
Fields§
§values: HashMap<String, Value>§errors: HashMap<ServerID, MtopError>Implementations§
source§impl ValuesResponse
impl ValuesResponse
sourcepub fn has_errors(&self) -> bool
pub fn has_errors(&self) -> bool
Return true if there are any errors, false otherwise.
Trait Implementations§
source§impl Debug for ValuesResponse
impl Debug for ValuesResponse
source§impl Default for ValuesResponse
impl Default for ValuesResponse
source§fn default() -> ValuesResponse
fn default() -> ValuesResponse
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ValuesResponse
impl !RefUnwindSafe for ValuesResponse
impl Send for ValuesResponse
impl Sync for ValuesResponse
impl Unpin for ValuesResponse
impl !UnwindSafe for ValuesResponse
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