pub struct TokenAltRow<'a> {
pub id: u16,
/* private fields */
}Expand description
A row of computed data produced by a COMPUTE (BY) clause (ALTROW, token
0xD3).
The row refers back, through id, to the
TokenAltMetaData that describes the
type of each value. See MS-TDS section 2.2.7.2.
Fields§
§id: u16Identifies the COMPUTE clause (and thus the ALTMETADATA) this row
belongs to.
Implementations§
Source§impl<'a> TokenAltRow<'a>
impl<'a> TokenAltRow<'a>
Sourcepub fn iter(&self) -> Iter<'_, ColumnData<'a>> ⓘ
pub fn iter(&self) -> Iter<'_, ColumnData<'a>> ⓘ
Returns an iterator over the computed column values.
Sourcepub fn get(&self, index: usize) -> Option<&ColumnData<'a>>
pub fn get(&self, index: usize) -> Option<&ColumnData<'a>>
Gets the computed value at the given index, None if out of bounds.
Trait Implementations§
Source§impl<'a> Clone for TokenAltRow<'a>
impl<'a> Clone for TokenAltRow<'a>
Source§fn clone(&self) -> TokenAltRow<'a>
fn clone(&self) -> TokenAltRow<'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 TokenAltRow<'a>
impl<'a> RefUnwindSafe for TokenAltRow<'a>
impl<'a> Send for TokenAltRow<'a>
impl<'a> Sync for TokenAltRow<'a>
impl<'a> Unpin for TokenAltRow<'a>
impl<'a> UnsafeUnpin for TokenAltRow<'a>
impl<'a> UnwindSafe for TokenAltRow<'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