pub struct GetAllDatacentersResponse {
pub data: Option<DataCentersResponse>,
pub errors: Option<Vec<GraphQLError>>,
}Expand description
Wraps the final response that includes data (or errors).
Fields§
§data: Option<DataCentersResponse>The main response data
errors: Option<Vec<GraphQLError>>Any GraphQL errors returned
Trait Implementations§
Source§impl Debug for GetAllDatacentersResponse
impl Debug for GetAllDatacentersResponse
Source§impl Default for GetAllDatacentersResponse
impl Default for GetAllDatacentersResponse
Source§fn default() -> GetAllDatacentersResponse
fn default() -> GetAllDatacentersResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetAllDatacentersResponse
impl<'de> Deserialize<'de> for GetAllDatacentersResponse
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
Auto Trait Implementations§
impl Freeze for GetAllDatacentersResponse
impl RefUnwindSafe for GetAllDatacentersResponse
impl Send for GetAllDatacentersResponse
impl Sync for GetAllDatacentersResponse
impl Unpin for GetAllDatacentersResponse
impl UnwindSafe for GetAllDatacentersResponse
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