#[non_exhaustive]pub struct ClientLocalShellCall {
pub id: Option<String>,
pub call_id: Option<String>,
pub status: LocalShellStatus,
pub action: LocalShellAction,
pub internal_chat_message_metadata_passthrough: Option<InternalChatMessageMetadataPassthrough>,
pub rest: Rest,
}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.id: Option<String>§call_id: Option<String>§status: LocalShellStatus§action: LocalShellAction§internal_chat_message_metadata_passthrough: Option<InternalChatMessageMetadataPassthrough>§rest: RestImplementations§
Source§impl ClientLocalShellCall
impl ClientLocalShellCall
Sourcepub fn builder(
call_id: Option<String>,
status: LocalShellStatus,
action: LocalShellAction,
) -> ClientLocalShellCallBuilder
pub fn builder( call_id: Option<String>, status: LocalShellStatus, action: LocalShellAction, ) -> ClientLocalShellCallBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for ClientLocalShellCall
impl Clone for ClientLocalShellCall
Source§impl Debug for ClientLocalShellCall
impl Debug for ClientLocalShellCall
Source§impl DeclaredFields for ClientLocalShellCall
impl DeclaredFields for ClientLocalShellCall
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for ClientLocalShellCall
impl<'de> Deserialize<'de> for ClientLocalShellCall
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 ClientLocalShellCall
impl PartialEq for ClientLocalShellCall
Source§impl Serialize for ClientLocalShellCall
impl Serialize for ClientLocalShellCall
impl StructuralPartialEq for ClientLocalShellCall
Auto Trait Implementations§
impl Freeze for ClientLocalShellCall
impl RefUnwindSafe for ClientLocalShellCall
impl Send for ClientLocalShellCall
impl Sync for ClientLocalShellCall
impl Unpin for ClientLocalShellCall
impl UnsafeUnpin for ClientLocalShellCall
impl UnwindSafe for ClientLocalShellCall
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