pub struct PromptMetaListResponse {
pub data: Vec<PromptMeta>,
pub meta: Box<UtilsMetaResponse>,
}Fields§
§data: Vec<PromptMeta>§meta: Box<UtilsMetaResponse>Implementations§
Source§impl PromptMetaListResponse
impl PromptMetaListResponse
Sourcepub fn builder() -> PromptMetaListResponseBuilder
pub fn builder() -> PromptMetaListResponseBuilder
Create an instance of PromptMetaListResponse using the builder syntax
Source§impl PromptMetaListResponse
impl PromptMetaListResponse
pub fn new( data: Vec<PromptMeta>, meta: UtilsMetaResponse, ) -> PromptMetaListResponse
Trait Implementations§
Source§impl Clone for PromptMetaListResponse
impl Clone for PromptMetaListResponse
Source§fn clone(&self) -> PromptMetaListResponse
fn clone(&self) -> PromptMetaListResponse
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 PromptMetaListResponse
impl Debug for PromptMetaListResponse
Source§impl Default for PromptMetaListResponse
impl Default for PromptMetaListResponse
Source§fn default() -> PromptMetaListResponse
fn default() -> PromptMetaListResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PromptMetaListResponse
impl<'de> Deserialize<'de> for PromptMetaListResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PromptMetaListResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PromptMetaListResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PromptMetaListResponse
impl PartialEq for PromptMetaListResponse
Source§impl Serialize for PromptMetaListResponse
impl Serialize for PromptMetaListResponse
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
impl StructuralPartialEq for PromptMetaListResponse
Auto Trait Implementations§
impl Freeze for PromptMetaListResponse
impl RefUnwindSafe for PromptMetaListResponse
impl Send for PromptMetaListResponse
impl Sync for PromptMetaListResponse
impl Unpin for PromptMetaListResponse
impl UnwindSafe for PromptMetaListResponse
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