pub struct PluginUpdateRecord {
pub plugin_id: String,
pub marketplace: String,
pub scope: String,
pub cwd_raw: String,
pub from_version: Option<String>,
pub to_version: Option<String>,
pub marketplace_ref_before: Option<String>,
pub updated_at: String,
pub trigger: PluginUpdateTrigger,
}Expand description
What forge remembers after a plugin moved. marketplace_ref_before
is the marketplace clone’s HEAD before the update - the ref a
rollback checks out. cwd_raw is where the update ran, so a
rollback of a project/local entry works on the same install.
Fields§
§plugin_id: String§marketplace: String§scope: String§cwd_raw: String§from_version: Option<String>§to_version: Option<String>§marketplace_ref_before: Option<String>§updated_at: String§trigger: PluginUpdateTriggerTrait Implementations§
Source§impl Clone for PluginUpdateRecord
impl Clone for PluginUpdateRecord
Source§impl Debug for PluginUpdateRecord
impl Debug for PluginUpdateRecord
Source§impl<'de> Deserialize<'de> for PluginUpdateRecord
impl<'de> Deserialize<'de> for PluginUpdateRecord
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
impl Eq for PluginUpdateRecord
Source§impl PartialEq for PluginUpdateRecord
impl PartialEq for PluginUpdateRecord
Source§impl Serialize for PluginUpdateRecord
impl Serialize for PluginUpdateRecord
impl StructuralPartialEq for PluginUpdateRecord
Auto Trait Implementations§
impl Freeze for PluginUpdateRecord
impl RefUnwindSafe for PluginUpdateRecord
impl Send for PluginUpdateRecord
impl Sync for PluginUpdateRecord
impl Unpin for PluginUpdateRecord
impl UnsafeUnpin for PluginUpdateRecord
impl UnwindSafe for PluginUpdateRecord
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.