pub struct DocumentationFile {
pub name: FileName,
pub path: FilePath,
pub download_url: DownloadUrl,
pub size: FileSizeBytes,
pub docs_directory: DocsDirectory,
}
Expand description
Documentation file with complete metadata.
Fields§
§name: FileName
Name of the documentation file
path: FilePath
Path to the file within the repository
download_url: DownloadUrl
URL for downloading the file content
size: FileSizeBytes
Size of the file in bytes
docs_directory: DocsDirectory
Documentation directory this file belongs to
Trait Implementations§
Source§impl Clone for DocumentationFile
impl Clone for DocumentationFile
Source§fn clone(&self) -> DocumentationFile
fn clone(&self) -> DocumentationFile
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 DocumentationFile
impl Debug for DocumentationFile
Source§impl<'de> Deserialize<'de> for DocumentationFile
impl<'de> Deserialize<'de> for DocumentationFile
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
Source§impl PartialEq for DocumentationFile
impl PartialEq for DocumentationFile
Source§impl Serialize for DocumentationFile
impl Serialize for DocumentationFile
impl Eq for DocumentationFile
impl StructuralPartialEq for DocumentationFile
Auto Trait Implementations§
impl Freeze for DocumentationFile
impl RefUnwindSafe for DocumentationFile
impl Send for DocumentationFile
impl Sync for DocumentationFile
impl Unpin for DocumentationFile
impl UnwindSafe for DocumentationFile
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