pub enum DirEntry {
File(GetByOrgByRepoContent200ResponseAnyOf2EntriesInnerAnyOf),
Symlink(GetByOrgByRepoContent200ResponseAnyOf2EntriesInnerAnyOf1),
Dir(GetByOrgByRepoContent200ResponseAnyOf2EntriesInnerAnyOf2),
}Expand description
A single entry inside a directory listing.
Variants§
File(GetByOrgByRepoContent200ResponseAnyOf2EntriesInnerAnyOf)
A file entry.
Symlink(GetByOrgByRepoContent200ResponseAnyOf2EntriesInnerAnyOf1)
A symbolic-link entry.
Dir(GetByOrgByRepoContent200ResponseAnyOf2EntriesInnerAnyOf2)
A subdirectory entry.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DirEntry
impl<'de> Deserialize<'de> for DirEntry
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for DirEntry
Auto Trait Implementations§
impl Freeze for DirEntry
impl RefUnwindSafe for DirEntry
impl Send for DirEntry
impl Sync for DirEntry
impl Unpin for DirEntry
impl UnsafeUnpin for DirEntry
impl UnwindSafe for DirEntry
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