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§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
impl Eq for AreaSupportInfo
Source§impl PartialEq for AreaSupportInfo
impl PartialEq for AreaSupportInfo
Source§impl Serialize for AreaSupportInfo
impl Serialize for AreaSupportInfo
impl StructuralPartialEq for AreaSupportInfo
Auto Trait Implementations§
impl Forget for AreaSupportInfo
impl Freeze for AreaSupportInfo
impl Move for AreaSupportInfo
impl RefUnwindSafe for AreaSupportInfo
impl Send for AreaSupportInfowhere
RawVecInner: Send,
impl Sync for AreaSupportInfowhere
RawVecInner: Sync,
impl Unpin for AreaSupportInfo
impl UnsafeUnpin for AreaSupportInfowhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for AreaSupportInfowhere
RawVecInner: UnwindSafe,
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