pub struct GetFile<'a> { /* private fields */ }
Expand description
Gets a file in a repository
Gets the contents of a file in a repository.
§Size limits
The task only supports files that are smaller than 1MB.
https://docs.github.com/en/rest/repos/contents#get-repository-content
Implementations§
Trait Implementations§
impl<'a> Copy for GetFile<'a>
Auto Trait Implementations§
impl<'a> Freeze for GetFile<'a>
impl<'a> !RefUnwindSafe for GetFile<'a>
impl<'a> Send for GetFile<'a>
impl<'a> Sync for GetFile<'a>
impl<'a> Unpin for GetFile<'a>
impl<'a> !UnwindSafe for GetFile<'a>
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