pub struct WebsiteBuilder<'a, S: State> { /* private fields */ }Expand description
Builder for constructing an instance of this type
Implementations§
Source§impl<'a> WebsiteBuilder<'a, Empty>
impl<'a> WebsiteBuilder<'a, Empty>
Source§impl<'a, S: State> WebsiteBuilder<'a, S>
impl<'a, S: State> WebsiteBuilder<'a, S>
Sourcepub fn description(self, value: impl Into<Option<CowStr<'a>>>) -> Self
pub fn description(self, value: impl Into<Option<CowStr<'a>>>) -> Self
Set the description field (optional)
Sourcepub fn maybe_description(self, value: Option<CowStr<'a>>) -> Self
pub fn maybe_description(self, value: Option<CowStr<'a>>) -> Self
Set the description field to an Option value (optional)
Source§impl<'a, S: State> WebsiteBuilder<'a, S>
impl<'a, S: State> WebsiteBuilder<'a, S>
Sourcepub fn preview_image(self, value: impl Into<Option<BlobRef<'a>>>) -> Self
pub fn preview_image(self, value: impl Into<Option<BlobRef<'a>>>) -> Self
Set the previewImage field (optional)
Sourcepub fn maybe_preview_image(self, value: Option<BlobRef<'a>>) -> Self
pub fn maybe_preview_image(self, value: Option<BlobRef<'a>>) -> Self
Set the previewImage field to an Option value (optional)
Source§impl<'a, S> WebsiteBuilder<'a, S>
impl<'a, S> WebsiteBuilder<'a, S>
Source§impl<'a, S: State> WebsiteBuilder<'a, S>
impl<'a, S: State> WebsiteBuilder<'a, S>
Auto Trait Implementations§
impl<'a, S> Freeze for WebsiteBuilder<'a, S>
impl<'a, S> RefUnwindSafe for WebsiteBuilder<'a, S>
impl<'a, S> Send for WebsiteBuilder<'a, S>
impl<'a, S> Sync for WebsiteBuilder<'a, S>
impl<'a, S> Unpin for WebsiteBuilder<'a, S>
impl<'a, S> UnsafeUnpin for WebsiteBuilder<'a, S>
impl<'a, S> UnwindSafe for WebsiteBuilder<'a, S>
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