#[non_exhaustive]pub struct ApprovalCuaCardFacts {
pub window_title: Option<String>,
pub page: Option<ApprovalCuaPage>,
pub steps: Vec<ApprovalCuaStep>,
pub data: Vec<ApprovalCuaDataFact>,
pub browser: Option<ApprovalCuaBrowser>,
}Expand description
One Computer Use card’s facts. Empty collections and absent rows are
omitted, never null.
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.window_title: Option<String>The target window’s title: the app’s own text, which a page can set; a client shows it quoted and as plain text, never as markup or a choice, and may cap it.
page: Option<ApprovalCuaPage>For a browser, the host of the window’s current page.
steps: Vec<ApprovalCuaStep>Only the consequential steps, in call order.
data: Vec<ApprovalCuaDataFact>The data the call would send that the card must name; a card with any offers only one-shot choices.
browser: Option<ApprovalCuaBrowser>For a browser card, the notices it carries; absent unless at least one shows.
Trait Implementations§
Source§impl Clone for ApprovalCuaCardFacts
impl Clone for ApprovalCuaCardFacts
Source§impl Debug for ApprovalCuaCardFacts
impl Debug for ApprovalCuaCardFacts
Source§impl Default for ApprovalCuaCardFacts
impl Default for ApprovalCuaCardFacts
Source§impl<'de> Deserialize<'de> for ApprovalCuaCardFacts
impl<'de> Deserialize<'de> for ApprovalCuaCardFacts
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 ApprovalCuaCardFacts
Source§impl PartialEq for ApprovalCuaCardFacts
impl PartialEq for ApprovalCuaCardFacts
Source§impl Serialize for ApprovalCuaCardFacts
impl Serialize for ApprovalCuaCardFacts
impl StructuralPartialEq for ApprovalCuaCardFacts
Auto Trait Implementations§
impl Forget for ApprovalCuaCardFacts
impl Freeze for ApprovalCuaCardFacts
impl Move for ApprovalCuaCardFacts
impl RefUnwindSafe for ApprovalCuaCardFacts
impl Send for ApprovalCuaCardFacts
impl Sync for ApprovalCuaCardFacts
impl Unpin for ApprovalCuaCardFacts
impl UnsafeUnpin for ApprovalCuaCardFacts
impl UnwindSafe for ApprovalCuaCardFacts
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