pub struct PreviewView {
pub app: Option<String>,
pub branch: Option<String>,
pub deployment: Option<Box<DeploymentView>>,
pub url: Option<String>,
}Fields§
§app: Option<String>App is the preview application’s own slug, <app>-<branch>.
branch: Option<String>Branch is the branch this preview maps.
deployment: Option<Box<DeploymentView>>Deployment is the deployment the preview recorded.
url: Option<String>URL is the preview’s live HTTPS address.
Implementations§
Source§impl PreviewView
impl PreviewView
pub fn new() -> PreviewView
Trait Implementations§
Source§impl Clone for PreviewView
impl Clone for PreviewView
Source§fn clone(&self) -> PreviewView
fn clone(&self) -> PreviewView
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 moreSource§impl Debug for PreviewView
impl Debug for PreviewView
Source§impl Default for PreviewView
impl Default for PreviewView
Source§fn default() -> PreviewView
fn default() -> PreviewView
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PreviewView
impl<'de> Deserialize<'de> for PreviewView
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 PreviewView
impl PartialEq for PreviewView
Source§impl Serialize for PreviewView
impl Serialize for PreviewView
impl StructuralPartialEq for PreviewView
Auto Trait Implementations§
impl Freeze for PreviewView
impl RefUnwindSafe for PreviewView
impl Send for PreviewView
impl Sync for PreviewView
impl Unpin for PreviewView
impl UnsafeUnpin for PreviewView
impl UnwindSafe for PreviewView
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