pub struct GetPromptOperation {
pub capability: CapabilityToken,
pub prompt_name: String,
pub arguments: Value,
}Expand description
Prompt retrieval payload.
Fields§
§capability: CapabilityToken§prompt_name: String§arguments: ValueTrait Implementations§
Source§impl Clone for GetPromptOperation
impl Clone for GetPromptOperation
Source§fn clone(&self) -> GetPromptOperation
fn clone(&self) -> GetPromptOperation
Returns a duplicate of the value. Read more
1.0.0 · 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 GetPromptOperation
impl Debug for GetPromptOperation
Source§impl<'de> Deserialize<'de> for GetPromptOperation
impl<'de> Deserialize<'de> for GetPromptOperation
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetPromptOperation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetPromptOperation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for GetPromptOperation
impl Serialize for GetPromptOperation
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 Freeze for GetPromptOperation
impl RefUnwindSafe for GetPromptOperation
impl Send for GetPromptOperation
impl Sync for GetPromptOperation
impl Unpin for GetPromptOperation
impl UnsafeUnpin for GetPromptOperation
impl UnwindSafe for GetPromptOperation
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