pub struct AttachmentResponse {
pub name: AssetName,
pub url: Url,
pub status: StatusCode,
pub operation: AttachmentOperation,
}Expand description
One attachment response, retained inside the owning plugin for live verification reports.
Fields§
§name: AssetNameThe referenced asset’s validated name.
url: UrlThe endpoint GitHub answered.
status: StatusCodeThe status GitHub actually returned.
operation: AttachmentOperationWhether this was the content-creating upload rather than a read.
Trait Implementations§
Source§impl Clone for AttachmentResponse
impl Clone for AttachmentResponse
Auto Trait Implementations§
impl Freeze for AttachmentResponse
impl RefUnwindSafe for AttachmentResponse
impl Send for AttachmentResponse
impl Sync for AttachmentResponse
impl Unpin for AttachmentResponse
impl UnsafeUnpin for AttachmentResponse
impl UnwindSafe for AttachmentResponse
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