pub struct ImplicitResult {
pub cursor_id: u16,
pub columns: Vec<ColumnInfo>,
pub rows: Vec<Row>,
pub has_more_rows: bool,
}Expand description
An implicit result set returned from a PL/SQL procedure
Fields§
§cursor_id: u16Cursor ID for this result set
columns: Vec<ColumnInfo>Column metadata
rows: Vec<Row>Rows from this result set
has_more_rows: boolWhether there are more rows to fetch
Implementations§
Source§impl ImplicitResult
impl ImplicitResult
Sourcepub fn new(cursor_id: u16, columns: Vec<ColumnInfo>, rows: Vec<Row>) -> Self
pub fn new(cursor_id: u16, columns: Vec<ColumnInfo>, rows: Vec<Row>) -> Self
Create a new implicit result
Sourcepub fn column_count(&self) -> usize
pub fn column_count(&self) -> usize
Get the number of columns
Sourcepub fn column(&self, name: &str) -> Option<&ColumnInfo>
pub fn column(&self, name: &str) -> Option<&ColumnInfo>
Get a column by name
Trait Implementations§
Source§impl Clone for ImplicitResult
impl Clone for ImplicitResult
Source§fn clone(&self) -> ImplicitResult
fn clone(&self) -> ImplicitResult
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ImplicitResult
impl Debug for ImplicitResult
Auto Trait Implementations§
impl Freeze for ImplicitResult
impl RefUnwindSafe for ImplicitResult
impl Send for ImplicitResult
impl Sync for ImplicitResult
impl Unpin for ImplicitResult
impl UnwindSafe for ImplicitResult
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)