Struct postgres_protocol::types::ArrayDimension
source · pub struct ArrayDimension {
pub len: i32,
pub lower_bound: i32,
}
Expand description
Information about a dimension of an array.
Fields§
§len: i32
The length of this dimension.
lower_bound: i32
The base value used to index into this dimension.
Trait Implementations§
source§impl Clone for ArrayDimension
impl Clone for ArrayDimension
source§fn clone(&self) -> ArrayDimension
fn clone(&self) -> ArrayDimension
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 Debug for ArrayDimension
impl Debug for ArrayDimension
source§impl PartialEq for ArrayDimension
impl PartialEq for ArrayDimension
source§fn eq(&self, other: &ArrayDimension) -> bool
fn eq(&self, other: &ArrayDimension) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ArrayDimension
impl Eq for ArrayDimension
impl StructuralPartialEq for ArrayDimension
Auto Trait Implementations§
impl Freeze for ArrayDimension
impl RefUnwindSafe for ArrayDimension
impl Send for ArrayDimension
impl Sync for ArrayDimension
impl Unpin for ArrayDimension
impl UnwindSafe for ArrayDimension
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)