Struct libpgquery_sys::ColumnDef [−][src]
pub struct ColumnDef {Show 17 fields
pub colname: String,
pub type_name: Option<TypeName>,
pub inhcount: i32,
pub is_local: bool,
pub is_not_null: bool,
pub is_from_type: bool,
pub storage: String,
pub raw_default: Option<Box<Node>>,
pub cooked_default: Option<Box<Node>>,
pub identity: String,
pub identity_sequence: Option<RangeVar>,
pub generated: String,
pub coll_clause: Option<Box<CollateClause>>,
pub coll_oid: u32,
pub constraints: Vec<Node>,
pub fdwoptions: Vec<Node>,
pub location: i32,
}
Fields
colname: String
type_name: Option<TypeName>
inhcount: i32
is_local: bool
is_not_null: bool
is_from_type: bool
storage: String
raw_default: Option<Box<Node>>
cooked_default: Option<Box<Node>>
identity: String
identity_sequence: Option<RangeVar>
generated: String
coll_clause: Option<Box<CollateClause>>
coll_oid: u32
constraints: Vec<Node>
fdwoptions: Vec<Node>
location: i32
Trait Implementations
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
Auto Trait Implementations
impl RefUnwindSafe for ColumnDef
impl UnwindSafe for ColumnDef
Blanket Implementations
Mutably borrows from an owned value. Read more