pub struct FindResult<T> {
pub response: Response<T>,
pub messages: Vec<Message>,
}
Expand description
Container for the complete result of a find operation, including response data and messages.
The generic type T
represents the structure of individual record data.
Fields§
§response: Response<T>
The main response containing record data and metadata.
messages: Vec<Message>
List of messages returned by the database operation, often containing status or error information.
Trait Implementations§
Source§impl<T: Clone> Clone for FindResult<T>
impl<T: Clone> Clone for FindResult<T>
Source§fn clone(&self) -> FindResult<T>
fn clone(&self) -> FindResult<T>
Returns a copy 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<T: Debug> Debug for FindResult<T>
impl<T: Debug> Debug for FindResult<T>
Source§impl<T: Default> Default for FindResult<T>
impl<T: Default> Default for FindResult<T>
Source§fn default() -> FindResult<T>
fn default() -> FindResult<T>
Returns the “default value” for a type. Read more
Source§impl<'de, T> Deserialize<'de> for FindResult<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for FindResult<T>where
T: Deserialize<'de>,
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<T> Freeze for FindResult<T>
impl<T> RefUnwindSafe for FindResult<T>where
T: RefUnwindSafe,
impl<T> Send for FindResult<T>where
T: Send,
impl<T> Sync for FindResult<T>where
T: Sync,
impl<T> Unpin for FindResult<T>where
T: Unpin,
impl<T> UnwindSafe for FindResult<T>where
T: UnwindSafe,
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