pub struct File {
pub absolute_path: Option<String>,
pub blob_id: Option<String>,
pub file_mode: Option<String>,
pub relative_path: Option<String>,
}Expand description
Returns information about a file in a repository.
Fields§
§absolute_path: Option<String>The fully qualified path to the file in the repository.
blob_id: Option<String>The blob ID that contains the file information.
file_mode: Option<String>The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.
relative_path: Option<String>The relative path of the file from the folder where the query originated.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for File
impl<'de> Deserialize<'de> for File
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
impl StructuralPartialEq for File
Auto Trait Implementations§
impl Freeze for File
impl RefUnwindSafe for File
impl Send for File
impl Sync for File
impl Unpin for File
impl UnwindSafe for File
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