Struct octorust::types::ReposUpdateInformationAboutPagesSiteRequest [−][src]
pub struct ReposUpdateInformationAboutPagesSiteRequest { pub cname: String, pub https_enforced: bool, pub public: bool, pub source: Option<SourceData>, }
Fields
cname: String
Specify a custom domain for the repository. Sending a null
value will remove the custom domain. For more about custom domains, see “Using a custom domain with GitHub Pages.”
https_enforced: bool
Specify whether HTTPS should be enforced for the repository.
public: bool
Configures access controls for the GitHub Pages site. If public is set to true
, the site is accessible to anyone on the internet. If set to false
, the site will only be accessible to users who have at least read
access to the repository that published the site. This includes anyone in your Enterprise if the repository is set to internal
visibility. This feature is only available to repositories in an organization on an Enterprise plan.
source: Option<SourceData>
Update the source for the repository. Must include the branch name, and may optionally specify the subdirectory /docs
. Possible values are "gh-pages"
, "master"
, and "master /docs"
.
Trait Implementations
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
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more