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: boolTrait Implementations
impl Archive for UpdateKeyboard
impl Archive for UpdateKeyboard
const COPY_OPTIMIZATION: CopyOptimization<Self>
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 moretype Archived = ArchivedUpdateKeyboard
type Archived = ArchivedUpdateKeyboard
The archived representation of this type. Read more
type Resolver = UpdateKeyboardResolver
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.
impl Debug for UpdateKeyboard
impl Debug for UpdateKeyboard
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>,
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>
fn deserialize( &self, deserializer: &mut __D, ) -> Result<UpdateKeyboard, <__D as Fallible>::Error>
Deserializes using the given deserializer
impl MessageId for UpdateKeyboard
impl MessageId for UpdateKeyboard
const ID: MessageId = 5usize
const ID: MessageId = 5usize
unique message identifier
const SERVER: &'static str = "os/gui-server"
const SERVER: &'static str = "os/gui-server"
target server name
impl<__S: Fallible + ?Sized> Serialize<__S> for UpdateKeyboard
impl<__S: Fallible + ?Sized> Serialize<__S> for UpdateKeyboard
fn serialize(
&self,
serializer: &mut __S,
) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>
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.