pub struct AreaSupportInfo {
pub area: String,
pub current_platform: String,
pub available_on_current_platform: bool,
pub availability: String,
pub reason: Option<String>,
pub members: Vec<String>,
pub notes: Vec<String>,
}Expand description
Represents VisionKit availability information for an API area.
Fields§
§area: StringStores the VisionKit area value.
current_platform: StringStores the VisionKit current platform value.
available_on_current_platform: boolIndicates whether VisionKit reports this area as available on the current platform.
availability: StringStores the VisionKit availability value.
reason: Option<String>Stores the VisionKit reason value.
members: Vec<String>Stores the VisionKit members value.
notes: Vec<String>Stores the VisionKit notes value.
Implementations§
Source§impl AreaSupportInfo
impl AreaSupportInfo
Builds the VisionKit availability error for this unsupported area.
Trait Implementations§
Source§impl Clone for AreaSupportInfo
impl Clone for AreaSupportInfo
Source§fn clone(&self) -> AreaSupportInfo
fn clone(&self) -> AreaSupportInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AreaSupportInfo
impl Debug for AreaSupportInfo
Source§impl<'de> Deserialize<'de> for AreaSupportInfo
impl<'de> Deserialize<'de> for AreaSupportInfo
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 AreaSupportInfo
impl PartialEq for AreaSupportInfo
Source§fn eq(&self, other: &AreaSupportInfo) -> bool
fn eq(&self, other: &AreaSupportInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AreaSupportInfo
impl Serialize for AreaSupportInfo
impl Eq for AreaSupportInfo
impl StructuralPartialEq for AreaSupportInfo
Auto Trait Implementations§
impl Freeze for AreaSupportInfo
impl RefUnwindSafe for AreaSupportInfo
impl Send for AreaSupportInfo
impl Sync for AreaSupportInfo
impl Unpin for AreaSupportInfo
impl UnsafeUnpin for AreaSupportInfo
impl UnwindSafe for AreaSupportInfo
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