Struct google_cloud_bigquery::storage::ipc::Schema
pub struct Schema<'a> {
pub _tab: Table<'a>,
}Expand description
A Schema describes the columns in a row batch
Fields§
§_tab: Table<'a>Implementations§
§impl<'a> Schema<'a>
impl<'a> Schema<'a>
pub const VT_ENDIANNESS: u16 = 4u16
pub const VT_FIELDS: u16 = 6u16
pub const VT_CUSTOM_METADATA: u16 = 8u16
pub const VT_FEATURES: u16 = 10u16
pub unsafe fn init_from_table(table: Table<'a>) -> Schema<'a>
pub fn create<'bldr, 'args, 'mut_bldr>( _fbb: &'mut_bldr mut FlatBufferBuilder<'bldr>, args: &'args SchemaArgs<'args> ) -> WIPOffset<Schema<'bldr>>where 'bldr: 'args, 'args: 'mut_bldr,
pub fn endianness(&self) -> Endianness
pub fn endianness(&self) -> Endianness
endianness of the buffer it is Little Endian by default if endianness doesn’t match the underlying system then the vectors need to be converted
pub fn fields(&self) -> Option<Vector<'a, ForwardsUOffset<Field<'a>>>>
pub fn custom_metadata( &self ) -> Option<Vector<'a, ForwardsUOffset<KeyValue<'a>>>>
Trait Implementations§
§impl<'a> PartialEq<Schema<'a>> for Schema<'a>
impl<'a> PartialEq<Schema<'a>> for Schema<'a>
§impl Verifiable for Schema<'_>
impl Verifiable for Schema<'_>
§fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize
) -> Result<(), InvalidFlatbuffer>
fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize ) -> Result<(), InvalidFlatbuffer>
Runs the verifier for this type, assuming its at position
pos in the verifier’s buffer.
Should not need to be called directly.impl<'a> Copy for Schema<'a>
impl<'a> StructuralPartialEq for Schema<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Schema<'a>
impl<'a> Send for Schema<'a>
impl<'a> Sync for Schema<'a>
impl<'a> Unpin for Schema<'a>
impl<'a> UnwindSafe for Schema<'a>
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request