pub struct StatementResultId { /* private fields */ }Expand description
A doppelgänger structure, similar to that of [StatementId], that abides by the ‘ids’ format rules, but this time for StatementResult.
Implementations§
Source§impl StatementResultId
impl StatementResultId
Sourcepub fn from(statements: Vec<StatementId>) -> Self
pub fn from(statements: Vec<StatementId>) -> Self
Construct a new instance of this from a [StatementId] one, setting
the more field to None.
Sourcepub fn set_more(&mut self, val: &str) -> Result<(), DataError>
pub fn set_more(&mut self, val: &str) -> Result<(), DataError>
Set this more field to given value.
Sourcepub fn is_empty(&self) -> bool
pub fn is_empty(&self) -> bool
Return whether this is empty (TRUE); i.e. has zero [StatementId]s, or not (FALSE).
Sourcepub fn statements(&self) -> &Vec<StatementId>
pub fn statements(&self) -> &Vec<StatementId>
Return this [StatementId]s collection.
Trait Implementations§
Source§impl Debug for StatementResultId
impl Debug for StatementResultId
Source§impl From<StatementResult> for StatementResultId
impl From<StatementResult> for StatementResultId
Source§fn from(value: StatementResult) -> Self
fn from(value: StatementResult) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StatementResultId
impl RefUnwindSafe for StatementResultId
impl Send for StatementResultId
impl Sync for StatementResultId
impl Unpin for StatementResultId
impl UnsafeUnpin for StatementResultId
impl UnwindSafe for StatementResultId
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