pub struct PromptChange {
pub version: Option<u64>,
pub action: PromptAction,
}Expand description
POST /api/v1/prompts: one change, at the version read.
Fields§
§version: Option<u64>§action: PromptActionTrait Implementations§
Source§impl Clone for PromptChange
impl Clone for PromptChange
Source§impl Debug for PromptChange
impl Debug for PromptChange
Source§impl<'de> Deserialize<'de> for PromptChange
impl<'de> Deserialize<'de> for PromptChange
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
Auto Trait Implementations§
impl Forget for PromptChange
impl Freeze for PromptChange
impl RefUnwindSafe for PromptChange
impl Send for PromptChange
impl Sync for PromptChange
impl Unpin for PromptChange
impl UnsafeUnpin for PromptChange
impl UnwindSafe for PromptChange
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