#[non_exhaustive]pub struct GetDeviceMethodsOutput {
pub device_methods: Option<Vec<DeviceMethod>>,
/* private fields */
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.device_methods: Option<Vec<DeviceMethod>>List of available device APIs.
Implementations§
source§impl GetDeviceMethodsOutput
impl GetDeviceMethodsOutput
sourcepub fn device_methods(&self) -> Option<&[DeviceMethod]>
pub fn device_methods(&self) -> Option<&[DeviceMethod]>
List of available device APIs.
source§impl GetDeviceMethodsOutput
impl GetDeviceMethodsOutput
sourcepub fn builder() -> GetDeviceMethodsOutputBuilder
pub fn builder() -> GetDeviceMethodsOutputBuilder
Creates a new builder-style object to manufacture GetDeviceMethodsOutput.
Trait Implementations§
source§impl Clone for GetDeviceMethodsOutput
impl Clone for GetDeviceMethodsOutput
source§fn clone(&self) -> GetDeviceMethodsOutput
fn clone(&self) -> GetDeviceMethodsOutput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for GetDeviceMethodsOutput
impl Debug for GetDeviceMethodsOutput
source§impl PartialEq<GetDeviceMethodsOutput> for GetDeviceMethodsOutput
impl PartialEq<GetDeviceMethodsOutput> for GetDeviceMethodsOutput
source§fn eq(&self, other: &GetDeviceMethodsOutput) -> bool
fn eq(&self, other: &GetDeviceMethodsOutput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl RequestId for GetDeviceMethodsOutput
impl RequestId for GetDeviceMethodsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None if the service could not be reached.impl StructuralPartialEq for GetDeviceMethodsOutput
Auto Trait Implementations§
impl RefUnwindSafe for GetDeviceMethodsOutput
impl Send for GetDeviceMethodsOutput
impl Sync for GetDeviceMethodsOutput
impl Unpin for GetDeviceMethodsOutput
impl UnwindSafe for GetDeviceMethodsOutput
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