pub struct StaticSiteDetails {
pub build_command: Option<String>,
pub build_plan: Option<BuildPlan>,
pub ip_allow_list: Vec<CidrBlockAndDescription>,
pub parent_server: Option<Resource>,
pub previews: Option<Previews>,
pub publish_path: Option<String>,
pub pull_request_previews_enabled: Option<PullRequestPreviewsEnabled>,
pub render_subdomain_policy: Option<RenderSubdomainPolicy>,
pub url: Option<String>,
}Expand description
StaticSiteDetails
JSON schema
{
"type": "object",
"properties": {
"buildCommand": {
"type": "string"
},
"buildPlan": {
"$ref": "#/components/schemas/buildPlan"
},
"ipAllowList": {
"type": "array",
"items": {
"$ref": "#/components/schemas/cidrBlockAndDescription"
}
},
"parentServer": {
"$ref": "#/components/schemas/resource"
},
"previews": {
"$ref": "#/components/schemas/previews"
},
"publishPath": {
"type": "string"
},
"pullRequestPreviewsEnabled": {
"$ref": "#/components/schemas/pullRequestPreviewsEnabled"
},
"renderSubdomainPolicy": {
"$ref": "#/components/schemas/renderSubdomainPolicy"
},
"url": {
"type": "string"
}
}
}Fields§
§build_command: Option<String>§build_plan: Option<BuildPlan>§ip_allow_list: Vec<CidrBlockAndDescription>§parent_server: Option<Resource>§previews: Option<Previews>§publish_path: Option<String>§pull_request_previews_enabled: Option<PullRequestPreviewsEnabled>§render_subdomain_policy: Option<RenderSubdomainPolicy>§url: Option<String>Trait Implementations§
Source§impl Clone for StaticSiteDetails
impl Clone for StaticSiteDetails
Source§fn clone(&self) -> StaticSiteDetails
fn clone(&self) -> StaticSiteDetails
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 StaticSiteDetails
impl Debug for StaticSiteDetails
Source§impl Default for StaticSiteDetails
impl Default for StaticSiteDetails
Source§impl<'de> Deserialize<'de> for StaticSiteDetails
impl<'de> Deserialize<'de> for StaticSiteDetails
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 From<StaticSiteDetails> for ServiceServiceDetails
impl From<StaticSiteDetails> for ServiceServiceDetails
Source§fn from(value: StaticSiteDetails) -> Self
fn from(value: StaticSiteDetails) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StaticSiteDetails
impl RefUnwindSafe for StaticSiteDetails
impl Send for StaticSiteDetails
impl Sync for StaticSiteDetails
impl Unpin for StaticSiteDetails
impl UnsafeUnpin for StaticSiteDetails
impl UnwindSafe for StaticSiteDetails
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