[−][src]Struct postgres_types::Field
Information about a field of a composite type.
Methods
impl Field
[src][−]
pub fn new(name: String, type_: Type) -> Field
[src][−]
Creates a new Field
.
pub fn name(&self) -> &str
[src][−]
Returns the name of the field.
pub fn type_(&self) -> &Type
[src][−]
Returns the type of the field.
Trait Implementations
impl Clone for Field
[src][+]
impl Debug for Field
[src][+]
impl Eq for Field
[src]
impl Hash for Field
[src][+]
impl PartialEq<Field> for Field
[src][+]
impl StructuralEq for Field
[src]
impl StructuralPartialEq for Field
[src]
Auto Trait Implementations
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnwindSafe for Field
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[+]
V: MultiLane<T>,