pub struct PublishOptions {
pub ctx: VoidContext,
pub commit_cid: Option<String>,
pub include_identity: bool,
pub include_contributors: bool,
pub identity_uri: Option<String>,
pub repo_name: Option<String>,
pub html_template: String,
}Fields§
§ctx: VoidContextRepository context (void_dir, vault, etc.)
commit_cid: Option<String>Specific commit CID to publish (None = HEAD).
include_identity: boolInclude identity URI in published metadata.
include_contributors: boolInclude contributor list in published metadata.
identity_uri: Option<String>Optional identity URI string (pre-loaded by CLI).
repo_name: Option<String>Optional repo name override.
html_template: StringHTML template for the published SPA shell.
Auto Trait Implementations§
impl Freeze for PublishOptions
impl RefUnwindSafe for PublishOptions
impl Send for PublishOptions
impl Sync for PublishOptions
impl Unpin for PublishOptions
impl UnsafeUnpin for PublishOptions
impl UnwindSafe for PublishOptions
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more