pub struct WorkspaceSite {
pub name: String,
pub path: String,
pub base_url: Option<String>,
pub output_dir: Option<String>,
}Expand description
A site entry within the workspace.
Fields§
§name: String§path: String§base_url: Option<String>Override the site’s seite.toml base_url.
output_dir: Option<String>Override the site’s output directory (relative to workspace root).
Trait Implementations§
Source§impl Clone for WorkspaceSite
impl Clone for WorkspaceSite
Source§fn clone(&self) -> WorkspaceSite
fn clone(&self) -> WorkspaceSite
Returns a duplicate of the value. Read more
1.0.0 · 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 WorkspaceSite
impl Debug for WorkspaceSite
Source§impl<'de> Deserialize<'de> for WorkspaceSite
impl<'de> Deserialize<'de> for WorkspaceSite
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
Auto Trait Implementations§
impl Freeze for WorkspaceSite
impl RefUnwindSafe for WorkspaceSite
impl Send for WorkspaceSite
impl Sync for WorkspaceSite
impl Unpin for WorkspaceSite
impl UnsafeUnpin for WorkspaceSite
impl UnwindSafe for WorkspaceSite
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