pub struct AppDeployed {
pub path: String,
pub version: i64,
}Expand description
AppDeployed : What a deploy of an existing app answers with. version is the one this call wrote, which is what an editor pins as the fork base of the draft it starts next: reading the head back afterwards cannot tell it from a deploy that landed beside it. A metadata-only update writes none and reports the head it kept.
Fields§
§path: StringWhere the app now lives, which differs from the request path on a rename.
version: i64Implementations§
Source§impl AppDeployed
impl AppDeployed
Sourcepub fn new(path: String, version: i64) -> AppDeployed
pub fn new(path: String, version: i64) -> AppDeployed
What a deploy of an existing app answers with. version is the one this call wrote, which is what an editor pins as the fork base of the draft it starts next: reading the head back afterwards cannot tell it from a deploy that landed beside it. A metadata-only update writes none and reports the head it kept.
Trait Implementations§
Source§impl Clone for AppDeployed
impl Clone for AppDeployed
Source§impl Debug for AppDeployed
impl Debug for AppDeployed
Source§impl Default for AppDeployed
impl Default for AppDeployed
Source§impl<'de> Deserialize<'de> for AppDeployed
impl<'de> Deserialize<'de> for AppDeployed
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 AppDeployed
impl PartialEq for AppDeployed
Source§impl Serialize for AppDeployed
impl Serialize for AppDeployed
impl StructuralPartialEq for AppDeployed
Auto Trait Implementations§
impl Freeze for AppDeployed
impl RefUnwindSafe for AppDeployed
impl Send for AppDeployed
impl Sync for AppDeployed
impl Unpin for AppDeployed
impl UnsafeUnpin for AppDeployed
impl UnwindSafe for AppDeployed
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