Struct glory_cli::service::site::SourcedSiteFile
source · pub struct SourcedSiteFile {
pub source: Utf8PathBuf,
pub dest: Utf8PathBuf,
pub site: Utf8PathBuf,
}Fields§
§source: Utf8PathBufsource file’s relative path from the root (workspace or project) directory
dest: Utf8PathBufdest file’s relative path from the root (workspace or project) directory
site: Utf8PathBufdest file’s relative path from the site directory
Implementations§
source§impl SourcedSiteFile
impl SourcedSiteFile
pub fn as_site_file(&self) -> SiteFile
Trait Implementations§
source§impl Clone for SourcedSiteFile
impl Clone for SourcedSiteFile
source§fn clone(&self) -> SourcedSiteFile
fn clone(&self) -> SourcedSiteFile
Returns a copy 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 SourcedSiteFile
impl Debug for SourcedSiteFile
Auto Trait Implementations§
impl RefUnwindSafe for SourcedSiteFile
impl Send for SourcedSiteFile
impl Sync for SourcedSiteFile
impl Unpin for SourcedSiteFile
impl UnwindSafe for SourcedSiteFile
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
§fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut D ) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer