Be aware: Foundation will NEVER ask for your seed words, device PIN, or call you unexpectedly. If anyone does, it's a scam.

Struct

UpdateKeyboard

pub struct UpdateKeyboard {
    pub kind: KeyboardKind,
    pub request_caps: bool,
    pub accept_button_text: String,
    pub accept_button_enabled: bool,
    pub delete_button_enabled: bool,
}

Fields

kind: KeyboardKindrequest_caps: boolaccept_button_text: Stringaccept_button_enabled: booldelete_button_enabled: bool

Trait Implementations

impl Archive for UpdateKeyboard
where KeyboardKind: Archive, bool: Archive, String: Archive,

const COPY_OPTIMIZATION: CopyOptimization<Self>

An optimization flag that allows the bytes of this type to be copied directly to a writer instead of calling serialize. Read more

type Archived = ArchivedUpdateKeyboard

The archived representation of this type. Read more

type Resolver = UpdateKeyboardResolver

The resolver for this type. It must contain all the additional information from serializing needed to make the archived type from the normal type.

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and writes it to the given output. Read more

impl Debug for UpdateKeyboard

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

impl<__D: Fallible + ?Sized> Deserialize<UpdateKeyboard, __D> for Archived<UpdateKeyboard>
where KeyboardKind: Archive, <KeyboardKind as Archive>::Archived: Deserialize<KeyboardKind, __D>, bool: Archive, <bool as Archive>::Archived: Deserialize<bool, __D>, String: Archive, <String as Archive>::Archived: Deserialize<String, __D>,

fn deserialize( &self, deserializer: &mut __D, ) -> Result<UpdateKeyboard, <__D as Fallible>::Error>

Deserializes using the given deserializer

impl MessageId for UpdateKeyboard

const ID: MessageId = 5usize

unique message identifier

const SERVER: &'static str = "os/gui-server"

target server name

impl<__S: Fallible + ?Sized> Serialize<__S> for UpdateKeyboard
where KeyboardKind: Serialize<__S>, bool: Serialize<__S>, String: Serialize<__S>,

fn serialize( &self, serializer: &mut __S, ) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can create the archived type.

impl Archive for UpdateKeyboard

Auto Trait Implementations

impl Freeze for UpdateKeyboard

impl RefUnwindSafe for UpdateKeyboard

impl Send for UpdateKeyboard

impl Sync for UpdateKeyboard

impl Unpin for UpdateKeyboard

impl UnsafeUnpin for UpdateKeyboard

impl UnwindSafe for UpdateKeyboard