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§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 moreAuto 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