pub struct ResultSet { /* private fields */ }Implementations§
Source§impl ResultSet
impl ResultSet
pub fn from_bindings(bindings: Bindings, host: Host) -> Result<Self>
pub fn iter_bindings(&self) -> Box<dyn Iterator<Item = (&str, &Value)> + '_>
pub fn is_empty(&self) -> bool
pub fn get(&self, name: &str) -> Option<PolarValue>
pub fn get_typed<T: FromPolar>(&self, name: &str) -> Result<T>
pub fn into_event(self) -> ResultEvent
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ResultSet
impl !RefUnwindSafe for ResultSet
impl Send for ResultSet
impl Sync for ResultSet
impl Unpin for ResultSet
impl !UnwindSafe for ResultSet
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