pub struct InstructionFile {
pub path: String,
pub sha256: String,
pub bytes: usize,
pub cut: bool,
}Expand description
A repository instructions file given to an attempt.
Fields§
§path: StringRepository-relative path.
sha256: Stringsha256 of the file.
bytes: usizeIts size.
cut: boolCut to fit the instructions budget.
Trait Implementations§
Source§impl Clone for InstructionFile
impl Clone for InstructionFile
Source§impl Debug for InstructionFile
impl Debug for InstructionFile
impl Eq for InstructionFile
Source§impl JsonSchema for InstructionFile
impl JsonSchema for InstructionFile
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for InstructionFile
impl PartialEq for InstructionFile
Source§impl Serialize for InstructionFile
impl Serialize for InstructionFile
impl StructuralPartialEq for InstructionFile
Auto Trait Implementations§
impl Freeze for InstructionFile
impl RefUnwindSafe for InstructionFile
impl Send for InstructionFile
impl Sync for InstructionFile
impl Unpin for InstructionFile
impl UnsafeUnpin for InstructionFile
impl UnwindSafe for InstructionFile
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