pub struct GithubJobLogHttpRequest { /* private fields */ }Expand description
One fixed GET plan for an injectable HTTP adapter.
Implementations§
Source§impl GithubJobLogHttpRequest
impl GithubJobLogHttpRequest
Sourcepub fn target(&self) -> &str
pub fn target(&self) -> &str
Relative GitHub API endpoint or validated absolute redirect URL.
Absolute targets can contain short-lived signed query parameters. An adapter must never log, persist, or include this value in an error.
Sourcepub const fn is_api_path(&self) -> bool
pub const fn is_api_path(&self) -> bool
Whether the target is relative to https://api.github.com.
Explicit credential policy.
Sourcepub const fn accept(&self) -> GithubJobLogAccept
pub const fn accept(&self) -> GithubJobLogAccept
Expected media type.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GithubJobLogHttpRequest
impl RefUnwindSafe for GithubJobLogHttpRequest
impl Send for GithubJobLogHttpRequest
impl Sync for GithubJobLogHttpRequest
impl Unpin for GithubJobLogHttpRequest
impl UnsafeUnpin for GithubJobLogHttpRequest
impl UnwindSafe for GithubJobLogHttpRequest
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