pub struct PromptData {
pub handle: String,
pub generation: u64,
pub untrusted_content: Value,
}Fields§
§handle: String§generation: u64§untrusted_content: ValueTrait Implementations§
Source§impl Clone for PromptData
impl Clone for PromptData
Source§fn clone(&self) -> PromptData
fn clone(&self) -> PromptData
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 PromptData
impl Debug for PromptData
Source§impl PartialEq for PromptData
impl PartialEq for PromptData
Source§impl Serialize for PromptData
impl Serialize for PromptData
impl StructuralPartialEq for PromptData
Auto Trait Implementations§
impl Freeze for PromptData
impl RefUnwindSafe for PromptData
impl Send for PromptData
impl Sync for PromptData
impl Unpin for PromptData
impl UnsafeUnpin for PromptData
impl UnwindSafe for PromptData
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