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 ==
.