pub struct TokenAltMetaData<'a> {
pub id: u16,
pub by_columns: Vec<u16>,
pub columns: Vec<AltMetaDataColumn<'a>>,
}Expand description
The token describing the layout of a COMPUTE (BY) result set
(ALTMETADATA, token 0x88).
A single query can contain more than one COMPUTE clause; each is uniquely
identified by id, which the matching TokenAltRow rows refer
back to. See MS-TDS section 2.2.7.1.
Fields§
§id: u16Identifies the COMPUTE clause this metadata describes. The associated
TokenAltRow rows carry the same id.
by_columns: Vec<u16>The column numbers (from the originating result set) listed in the
COMPUTE BY clause, in order.
columns: Vec<AltMetaDataColumn<'a>>The computed columns, one per aggregate operator in the COMPUTE clause.
Trait Implementations§
Source§impl<'a> Clone for TokenAltMetaData<'a>
impl<'a> Clone for TokenAltMetaData<'a>
Source§fn clone(&self) -> TokenAltMetaData<'a>
fn clone(&self) -> TokenAltMetaData<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for TokenAltMetaData<'a>
impl<'a> RefUnwindSafe for TokenAltMetaData<'a>
impl<'a> Send for TokenAltMetaData<'a>
impl<'a> Sync for TokenAltMetaData<'a>
impl<'a> Unpin for TokenAltMetaData<'a>
impl<'a> UnsafeUnpin for TokenAltMetaData<'a>
impl<'a> UnwindSafe for TokenAltMetaData<'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