pub struct GetFileInput {
pub commit_specifier: Option<String>,
pub file_path: String,
pub repository_name: String,
}Fields§
§commit_specifier: Option<String>The fully quaified reference that identifies the commit that contains the file. For example, you can specify a full commit ID, a tag, a branch name, or a reference such as refs/heads/master. If none is provided, the head commit is used.
file_path: StringThe fully qualified path to the file, including the full name and extension of the file. For example, /examples/file.md is the fully qualified path to a file named file.md in a folder named examples.
repository_name: StringThe name of the repository that contains the file.
Trait Implementations§
Source§impl Clone for GetFileInput
impl Clone for GetFileInput
Source§fn clone(&self) -> GetFileInput
fn clone(&self) -> GetFileInput
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 GetFileInput
impl Debug for GetFileInput
Source§impl Default for GetFileInput
impl Default for GetFileInput
Source§fn default() -> GetFileInput
fn default() -> GetFileInput
Returns the “default value” for a type. Read more
Source§impl PartialEq for GetFileInput
impl PartialEq for GetFileInput
Source§impl Serialize for GetFileInput
impl Serialize for GetFileInput
impl StructuralPartialEq for GetFileInput
Auto Trait Implementations§
impl Freeze for GetFileInput
impl RefUnwindSafe for GetFileInput
impl Send for GetFileInput
impl Sync for GetFileInput
impl Unpin for GetFileInput
impl UnwindSafe for GetFileInput
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