pub struct ProviderAccountTestResponse {
pub result: AccountTestResult,
pub windows: Vec<AccountWindowResponse>,
}Expand description
Response of POST /provider-accounts/{id}/test.
JSON schema
{
"description": "Response of `POST /provider-accounts/{id}/test`.",
"type": "object",
"required": [
"result",
"windows"
],
"properties": {
"result": {
"$ref": "#/components/schemas/AccountTestResult"
},
"windows": {
"description": "Windows reported by the provider.",
"type": "array",
"items": {
"$ref": "#/components/schemas/AccountWindowResponse"
}
}
}
}
```ignore
</details>Fields§
§result: AccountTestResult§windows: Vec<AccountWindowResponse>Windows reported by the provider.
Implementations§
Trait Implementations§
Source§impl Clone for ProviderAccountTestResponse
impl Clone for ProviderAccountTestResponse
Source§impl Debug for ProviderAccountTestResponse
impl Debug for ProviderAccountTestResponse
Source§impl<'de> Deserialize<'de> for ProviderAccountTestResponse
impl<'de> Deserialize<'de> for ProviderAccountTestResponse
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 From<ProviderAccountTestResponse> for ProviderAccountTestResponse
impl From<ProviderAccountTestResponse> for ProviderAccountTestResponse
Source§fn from(value: ProviderAccountTestResponse) -> Self
fn from(value: ProviderAccountTestResponse) -> Self
Converts to this type from the input type.
Source§impl TryFrom<ProviderAccountTestResponse> for ProviderAccountTestResponse
impl TryFrom<ProviderAccountTestResponse> for ProviderAccountTestResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ProviderAccountTestResponse) -> Result<Self, ConversionError>
fn try_from(value: ProviderAccountTestResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ProviderAccountTestResponse
impl RefUnwindSafe for ProviderAccountTestResponse
impl Send for ProviderAccountTestResponse
impl Sync for ProviderAccountTestResponse
impl Unpin for ProviderAccountTestResponse
impl UnsafeUnpin for ProviderAccountTestResponse
impl UnwindSafe for ProviderAccountTestResponse
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