pub struct RowDescription { /* private fields */ }Implementations§
Source§impl RowDescription
impl RowDescription
pub fn new(fields: Vec<RowDescriptionField>) -> Self
pub fn len(&self) -> usize
Sourcepub fn get_formats(&self) -> Vec<Format>
pub fn get_formats(&self) -> Vec<Format>
Returns the resolved per-column format codes.
These account for is_binary_supported() — if a type doesn’t support
binary encoding, the format is downgraded to Text even if Binary was requested.
Trait Implementations§
Source§impl Clone for RowDescription
impl Clone for RowDescription
Source§fn clone(&self) -> RowDescription
fn clone(&self) -> RowDescription
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RowDescription
impl Debug for RowDescription
Auto Trait Implementations§
impl Freeze for RowDescription
impl RefUnwindSafe for RowDescription
impl Send for RowDescription
impl Sync for RowDescription
impl Unpin for RowDescription
impl UnsafeUnpin for RowDescription
impl UnwindSafe for RowDescription
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