pub struct SolveRequest {
pub definition: Option<Definition>,
pub frontend: String,
pub frontend_opt: HashMap<String, String>,
pub allow_result_return: bool,
pub allow_result_array_ref: bool,
pub final: bool,
pub exporter_attr: Vec<u8>,
pub cache_imports: Vec<CacheOptionsEntry>,
pub frontend_inputs: HashMap<String, Definition>,
pub evaluate: bool,
pub source_policies: Vec<Policy>,
}Fields§
§definition: Option<Definition>§frontend: String§frontend_opt: HashMap<String, String>§allow_result_return: bool4 was removed in BuildKit v0.11.0.
allow_result_array_ref: bool§final: boolapicaps.CapSolveInlineReturn deprecated
exporter_attr: Vec<u8>§cache_imports: Vec<CacheOptionsEntry>CacheImports was added in BuildKit v0.4.0. apicaps:CapImportCaches
frontend_inputs: HashMap<String, Definition>apicaps:CapFrontendInputs
evaluate: bool§source_policies: Vec<Policy>Trait Implementations§
Source§impl Clone for SolveRequest
impl Clone for SolveRequest
Source§fn clone(&self) -> SolveRequest
fn clone(&self) -> SolveRequest
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 SolveRequest
impl Debug for SolveRequest
Source§impl Default for SolveRequest
impl Default for SolveRequest
Source§fn default() -> SolveRequest
fn default() -> SolveRequest
Returns the “default value” for a type. Read more
Source§impl Message for SolveRequest
impl Message for SolveRequest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for SolveRequest
impl PartialEq for SolveRequest
impl StructuralPartialEq for SolveRequest
Auto Trait Implementations§
impl Freeze for SolveRequest
impl RefUnwindSafe for SolveRequest
impl Send for SolveRequest
impl Sync for SolveRequest
impl Unpin for SolveRequest
impl UnwindSafe for SolveRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request