pub enum DeployEventOrigin {
Authored,
Sync,
}Expand description
DeployEventOrigin : Who caused a deploy event: authored (written in that workspace by the requester) or sync (applied there by a git-sync pull or a workspace-to-workspace deploy). Only an authored removal is evidence that the workspace dropped the item on purpose. Omitted when no such event has been recorded for that side.
Who caused a deploy event: authored (written in that workspace by the requester) or sync (applied there by a git-sync pull or a workspace-to-workspace deploy). Only an authored removal is evidence that the workspace dropped the item on purpose. Omitted when no such event has been recorded for that side.
Variants§
Trait Implementations§
Source§impl Clone for DeployEventOrigin
impl Clone for DeployEventOrigin
Source§fn clone(&self) -> DeployEventOrigin
fn clone(&self) -> DeployEventOrigin
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 moreimpl Copy for DeployEventOrigin
Source§impl Debug for DeployEventOrigin
impl Debug for DeployEventOrigin
Source§impl Default for DeployEventOrigin
impl Default for DeployEventOrigin
Source§fn default() -> DeployEventOrigin
fn default() -> DeployEventOrigin
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeployEventOrigin
impl<'de> Deserialize<'de> for DeployEventOrigin
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 Display for DeployEventOrigin
impl Display for DeployEventOrigin
impl Eq for DeployEventOrigin
Source§impl Hash for DeployEventOrigin
impl Hash for DeployEventOrigin
Source§impl Ord for DeployEventOrigin
impl Ord for DeployEventOrigin
Source§fn cmp(&self, other: &DeployEventOrigin) -> Ordering
fn cmp(&self, other: &DeployEventOrigin) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DeployEventOrigin
impl PartialEq for DeployEventOrigin
Source§impl PartialOrd for DeployEventOrigin
impl PartialOrd for DeployEventOrigin
Source§impl Serialize for DeployEventOrigin
impl Serialize for DeployEventOrigin
impl StructuralPartialEq for DeployEventOrigin
Auto Trait Implementations§
impl Freeze for DeployEventOrigin
impl RefUnwindSafe for DeployEventOrigin
impl Send for DeployEventOrigin
impl Sync for DeployEventOrigin
impl Unpin for DeployEventOrigin
impl UnsafeUnpin for DeployEventOrigin
impl UnwindSafe for DeployEventOrigin
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
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>,
impl<T> ErasedDestructor for Twhere
T: 'static,
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> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.