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<ArrayDimension> for ArrayDimension
impl PartialEq<ArrayDimension> 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 StructuralEq for ArrayDimension
impl StructuralPartialEq for ArrayDimension
Auto Trait Implementations§
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