pub struct PlanReadSqlTodosWithDependenciesResult {
pub dependencies: Vec<PlanSqlTodoDependency>,
pub rows: Vec<PlanSqlTodosRow>,
}Expand description
Todo rows + dependency edges read from the session SQL database.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§dependencies: Vec<PlanSqlTodoDependency>Edges from the session SQL todo_deps table. Empty when no database, no todo_deps table, or the SELECT failed. Read independently from rows, so a broken todo_deps table does not affect the rows result and vice versa.
rows: Vec<PlanSqlTodosRow>Rows from the session SQL todos table, ordered by creation time and id. Empty when no database, no todos table, or the SELECT failed.
Trait Implementations§
Source§impl Clone for PlanReadSqlTodosWithDependenciesResult
impl Clone for PlanReadSqlTodosWithDependenciesResult
Source§fn clone(&self) -> PlanReadSqlTodosWithDependenciesResult
fn clone(&self) -> PlanReadSqlTodosWithDependenciesResult
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 moreSource§impl Default for PlanReadSqlTodosWithDependenciesResult
impl Default for PlanReadSqlTodosWithDependenciesResult
Source§fn default() -> PlanReadSqlTodosWithDependenciesResult
fn default() -> PlanReadSqlTodosWithDependenciesResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PlanReadSqlTodosWithDependenciesResult
impl<'de> Deserialize<'de> for PlanReadSqlTodosWithDependenciesResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PlanReadSqlTodosWithDependenciesResult
impl RefUnwindSafe for PlanReadSqlTodosWithDependenciesResult
impl Send for PlanReadSqlTodosWithDependenciesResult
impl Sync for PlanReadSqlTodosWithDependenciesResult
impl Unpin for PlanReadSqlTodosWithDependenciesResult
impl UnsafeUnpin for PlanReadSqlTodosWithDependenciesResult
impl UnwindSafe for PlanReadSqlTodosWithDependenciesResult
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