pub struct ResultSet<T> { /* private fields */ }Expand description
Generic result set container.
Implementations§
Source§impl<T> ResultSet<T>
impl<T> ResultSet<T>
Sourcepub const fn new(items: Vec<T>, metadata: ResultSetMetadata) -> Self
pub const fn new(items: Vec<T>, metadata: ResultSetMetadata) -> Self
Creates a result set.
Sourcepub const fn metadata(&self) -> &ResultSetMetadata
pub const fn metadata(&self) -> &ResultSetMetadata
Returns result set metadata.
Trait Implementations§
Source§impl<T: PartialEq> PartialEq for ResultSet<T>
impl<T: PartialEq> PartialEq for ResultSet<T>
impl<T: Eq> Eq for ResultSet<T>
impl<T> StructuralPartialEq for ResultSet<T>
Auto Trait Implementations§
impl<T> Freeze for ResultSet<T>
impl<T> RefUnwindSafe for ResultSet<T>where
T: RefUnwindSafe,
impl<T> Send for ResultSet<T>where
T: Send,
impl<T> Sync for ResultSet<T>where
T: Sync,
impl<T> Unpin for ResultSet<T>where
T: Unpin,
impl<T> UnsafeUnpin for ResultSet<T>
impl<T> UnwindSafe for ResultSet<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