pub struct BinaryDataType {
pub length: u32,
}Expand description
Fixed-length binary data.
Maps to: BYTEA (PostgreSQL), BINARY(n) (SQL Server, Snowflake),
FixedString(n) (ClickHouse).
§Example
use razeri_plugin_contract::data_type::BinaryDataType;
let binary = BinaryDataType::new(256);
assert_eq!(binary.length, 256);Fields§
§length: u32Fixed length in bytes.
Implementations§
Trait Implementations§
Source§impl Clone for BinaryDataType
impl Clone for BinaryDataType
Source§impl Debug for BinaryDataType
impl Debug for BinaryDataType
impl Eq for BinaryDataType
Source§impl Hash for BinaryDataType
impl Hash for BinaryDataType
Source§impl PartialEq for BinaryDataType
impl PartialEq for BinaryDataType
impl StructuralPartialEq for BinaryDataType
Auto Trait Implementations§
impl Forget for BinaryDataType
impl Freeze for BinaryDataType
impl Move for BinaryDataType
impl RefUnwindSafe for BinaryDataType
impl Send for BinaryDataType
impl Sync for BinaryDataType
impl Unpin for BinaryDataType
impl UnsafeUnpin for BinaryDataType
impl UnwindSafe for BinaryDataType
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