pub struct CallBatchResponse {
pub results: Vec<Call>,
pub errors: Vec<CallBatchError>,
}
Fields§
§results: Vec<Call>
This is the list of calls that were created.
errors: Vec<CallBatchError>
This is the list of calls that failed to be created.
Implementations§
Source§impl CallBatchResponse
impl CallBatchResponse
pub fn new(results: Vec<Call>, errors: Vec<CallBatchError>) -> CallBatchResponse
Trait Implementations§
Source§impl Clone for CallBatchResponse
impl Clone for CallBatchResponse
Source§fn clone(&self) -> CallBatchResponse
fn clone(&self) -> CallBatchResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CallBatchResponse
impl Debug for CallBatchResponse
Source§impl Default for CallBatchResponse
impl Default for CallBatchResponse
Source§fn default() -> CallBatchResponse
fn default() -> CallBatchResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CallBatchResponse
impl<'de> Deserialize<'de> for CallBatchResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CallBatchResponse
impl PartialEq for CallBatchResponse
Source§impl Serialize for CallBatchResponse
impl Serialize for CallBatchResponse
impl StructuralPartialEq for CallBatchResponse
Auto Trait Implementations§
impl Freeze for CallBatchResponse
impl RefUnwindSafe for CallBatchResponse
impl Send for CallBatchResponse
impl Sync for CallBatchResponse
impl Unpin for CallBatchResponse
impl UnwindSafe for CallBatchResponse
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