pub enum RowsMetadataFlag {
GlobalTableSpace,
HasMorePages,
NoMetadata,
}Expand description
Enum that represent a set of possible row metadata flags that could be set.
Variants§
Implementations§
Source§impl RowsMetadataFlag
impl RowsMetadataFlag
Sourcepub fn has_global_table_space(flag: i32) -> bool
pub fn has_global_table_space(flag: i32) -> bool
Shows if provided flag contains GlobalTableSpace rows metadata flag
Sourcepub fn set_global_table_space(flag: i32) -> i32
pub fn set_global_table_space(flag: i32) -> i32
Sets GlobalTableSpace rows metadata flag
Sourcepub fn has_has_more_pages(flag: i32) -> bool
pub fn has_has_more_pages(flag: i32) -> bool
Shows if provided flag contains HasMorePages rows metadata flag
Sourcepub fn set_has_more_pages(flag: i32) -> i32
pub fn set_has_more_pages(flag: i32) -> i32
Sets HasMorePages rows metadata flag
Sourcepub fn has_no_metadata(flag: i32) -> bool
pub fn has_no_metadata(flag: i32) -> bool
Shows if provided flag contains NoMetadata rows metadata flag
Sourcepub fn set_no_metadata(flag: i32) -> i32
pub fn set_no_metadata(flag: i32) -> i32
Sets NoMetadata rows metadata flag
Trait Implementations§
Source§impl FromBytes for RowsMetadataFlag
impl FromBytes for RowsMetadataFlag
Source§fn from_bytes(bytes: &[u8]) -> Result<RowsMetadataFlag>
fn from_bytes(bytes: &[u8]) -> Result<RowsMetadataFlag>
It gets and array of bytes and should return an implementor struct.
Source§impl IntoBytes for RowsMetadataFlag
impl IntoBytes for RowsMetadataFlag
Auto Trait Implementations§
impl Freeze for RowsMetadataFlag
impl RefUnwindSafe for RowsMetadataFlag
impl Send for RowsMetadataFlag
impl Sync for RowsMetadataFlag
impl Unpin for RowsMetadataFlag
impl UnwindSafe for RowsMetadataFlag
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