pub struct RestoreDefineCtx<'a> {
pub id: &'a str,
pub deps: &'a [String],
pub config: Option<&'a GraphCheckpointJson>,
pub config_version: Option<&'a GraphCheckpointJson>,
pub checkpoint: &'a GraphCheckpointNode,
/* private fields */
}Expand description
RestoreDefineCtx data container.
Fields§
§id: &'a strid field for id.
deps: &'a [String]deps field for deps.
config: Option<&'a GraphCheckpointJson>config field for config.
config_version: Option<&'a GraphCheckpointJson>config_version field for config version.
checkpoint: &'a GraphCheckpointNodecheckpoint field for checkpoint.
Implementations§
Source§impl RestoreDefineCtx<'_>
impl RestoreDefineCtx<'_>
Sourcepub fn resolve_definition(
&self,
ref_: &str,
) -> GraphRestoreResult<GraphRestoreDefinition>
pub fn resolve_definition( &self, ref_: &str, ) -> GraphRestoreResult<GraphRestoreDefinition>
Updates or reads resolve_definition.
Auto Trait Implementations§
impl<'a> Freeze for RestoreDefineCtx<'a>
impl<'a> !RefUnwindSafe for RestoreDefineCtx<'a>
impl<'a> !Send for RestoreDefineCtx<'a>
impl<'a> !Sync for RestoreDefineCtx<'a>
impl<'a> Unpin for RestoreDefineCtx<'a>
impl<'a> UnsafeUnpin for RestoreDefineCtx<'a>
impl<'a> !UnwindSafe for RestoreDefineCtx<'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