pub struct SyncOutcome {
pub plan_id: PlanId,
pub name: String,
pub variant: String,
pub revision: u32,
pub created: bool,
pub changed: bool,
pub diff: Option<RevisionDiff>,
}Expand description
Result of crate::ports::Planner::sync_plan.
Fields§
§plan_id: PlanId§name: String§variant: String§revision: u32The variant’s head revision after the sync.
created: boolTrue when this sync registered the variant.
changed: boolTrue when this sync created the variant or a new revision.
diff: Option<RevisionDiff>What the revision changed; None unless a new revision was made.
Trait Implementations§
Source§impl Clone for SyncOutcome
impl Clone for SyncOutcome
Source§impl Debug for SyncOutcome
impl Debug for SyncOutcome
Source§impl<'de> Deserialize<'de> for SyncOutcome
impl<'de> Deserialize<'de> for SyncOutcome
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
Source§impl PartialEq for SyncOutcome
impl PartialEq for SyncOutcome
Source§impl Serialize for SyncOutcome
impl Serialize for SyncOutcome
impl StructuralPartialEq for SyncOutcome
Auto Trait Implementations§
impl Freeze for SyncOutcome
impl RefUnwindSafe for SyncOutcome
impl Send for SyncOutcome
impl Sync for SyncOutcome
impl Unpin for SyncOutcome
impl UnsafeUnpin for SyncOutcome
impl UnwindSafe for SyncOutcome
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
Source§fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
Convert this value without routing structured data through a string.