pub struct UserPromptSubmitPayload {
pub char_count: u32,
pub attachment_count: u32,
}Expand description
The message a user turn opens with — its size, never its text.
Fields§
§char_count: u32§attachment_count: u32Trait Implementations§
Source§impl Clone for UserPromptSubmitPayload
impl Clone for UserPromptSubmitPayload
Source§fn clone(&self) -> UserPromptSubmitPayload
fn clone(&self) -> UserPromptSubmitPayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UserPromptSubmitPayload
impl Debug for UserPromptSubmitPayload
Source§impl JsonSchema for UserPromptSubmitPayload
impl JsonSchema for UserPromptSubmitPayload
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Serialize for UserPromptSubmitPayload
impl Serialize for UserPromptSubmitPayload
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Forget for UserPromptSubmitPayload
impl Freeze for UserPromptSubmitPayload
impl Move for UserPromptSubmitPayload
impl RefUnwindSafe for UserPromptSubmitPayload
impl Send for UserPromptSubmitPayload
impl Sync for UserPromptSubmitPayload
impl Unpin for UserPromptSubmitPayload
impl UnsafeUnpin for UserPromptSubmitPayload
impl UnwindSafe for UserPromptSubmitPayload
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