Struct msql_srv::ColumnFlags [] [src]

pub struct ColumnFlags { /* fields omitted */ }

MySql column flags

Methods

impl ColumnFlags
[src]

NOT_NULL_FLAG: ColumnFlags = ColumnFlags{bits: 1u16,}

PRI_KEY_FLAG: ColumnFlags = ColumnFlags{bits: 2u16,}

UNIQUE_KEY_FLAG: ColumnFlags = ColumnFlags{bits: 4u16,}

MULTIPLE_KEY_FLAG: ColumnFlags = ColumnFlags{bits: 8u16,}

BLOB_FLAG: ColumnFlags = ColumnFlags{bits: 16u16,}

UNSIGNED_FLAG: ColumnFlags = ColumnFlags{bits: 32u16,}

ZEROFILL_FLAG: ColumnFlags = ColumnFlags{bits: 64u16,}

BINARY_FLAG: ColumnFlags = ColumnFlags{bits: 128u16,}

ENUM_FLAG: ColumnFlags = ColumnFlags{bits: 256u16,}

AUTO_INCREMENT_FLAG: ColumnFlags = ColumnFlags{bits: 512u16,}

TIMESTAMP_FLAG: ColumnFlags = ColumnFlags{bits: 1024u16,}

SET_FLAG: ColumnFlags = ColumnFlags{bits: 2048u16,}

NO_DEFAULT_VALUE_FLAG: ColumnFlags = ColumnFlags{bits: 4096u16,}

ON_UPDATE_NOW_FLAG: ColumnFlags = ColumnFlags{bits: 8192u16,}

PART_KEY_FLAG: ColumnFlags = ColumnFlags{bits: 16384u16,}

NUM_FLAG: ColumnFlags = ColumnFlags{bits: 32768u16,}

[src]

Returns an empty set of flags.

[src]

Returns the set containing all flags.

[src]

Returns the raw value of the flags currently stored.

[src]

Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.

[src]

Convert from underlying bit representation, dropping any bits that do not correspond to flags.

[src]

Returns true if no flags are currently stored.

[src]

Returns true if all flags are currently set.

[src]

Returns true if there are flags common to both self and other.

[src]

Returns true all of the flags in other are contained within self.

[src]

Inserts the specified flags in-place.

[src]

Removes the specified flags in-place.

[src]

Toggles the specified flags in-place.

[src]

Inserts or removes the specified flags depending on the passed value.

Trait Implementations

impl Ord for ColumnFlags
[src]

[src]

This method returns an Ordering between self and other. Read more

1.22.0
[src]

Compares and returns the maximum of two values. Read more

1.22.0
[src]

Compares and returns the minimum of two values. Read more

impl Copy for ColumnFlags
[src]

impl Hash for ColumnFlags
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Not for ColumnFlags
[src]

[src]

Returns the complement of this set of flags.

impl Clone for ColumnFlags
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl BitXor<ColumnFlags> for ColumnFlags
[src]

[src]

Returns the left flags, but with all the right flags toggled.

impl BitOr<ColumnFlags> for ColumnFlags
[src]

[src]

Returns the union of the two sets of flags.

impl BitOrAssign<ColumnFlags> for ColumnFlags
[src]

[src]

Adds the set of flags.

impl BitAndAssign<ColumnFlags> for ColumnFlags
[src]

[src]

Disables all flags disabled in the set.

impl Octal for ColumnFlags
[src]

[src]

impl PartialEq<ColumnFlags> for ColumnFlags
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Debug for ColumnFlags
[src]

[src]

Formats the value using the given formatter.

impl Extend<ColumnFlags> for ColumnFlags
[src]

[src]

impl SubAssign<ColumnFlags> for ColumnFlags
[src]

[src]

Disables all flags enabled in the set.

impl BitAnd<ColumnFlags> for ColumnFlags
[src]

[src]

Returns the intersection between the two sets of flags.

impl BitXorAssign<ColumnFlags> for ColumnFlags
[src]

[src]

Toggles the set of flags.

impl UpperHex for ColumnFlags
[src]

[src]

impl Eq for ColumnFlags
[src]

impl Binary for ColumnFlags
[src]

[src]

impl FromIterator<ColumnFlags> for ColumnFlags
[src]

[src]

impl LowerHex for ColumnFlags
[src]

[src]

impl Sub<ColumnFlags> for ColumnFlags
[src]

[src]

Returns the set difference of the two sets of flags.

impl PartialOrd<ColumnFlags> for ColumnFlags
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

[src]

This method tests less than (for self and other) and is used by the < operator. Read more

[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more