pub struct BulkDetailsRequest {
pub doc_id: Vec<String>,
pub include_child_docs: Option<bool>,
pub include_details: Option<bool>,
pub source_package_name: Option<String>,
pub installed_version_code: Vec<i32>,
}Fields§
§doc_id: Vec<String>§include_child_docs: Option<bool>§include_details: Option<bool>§source_package_name: Option<String>§installed_version_code: Vec<i32>Implementations§
Source§impl BulkDetailsRequest
impl BulkDetailsRequest
Sourcepub fn include_child_docs(&self) -> bool
pub fn include_child_docs(&self) -> bool
Returns the value of include_child_docs, or the default value if include_child_docs is unset.
Sourcepub fn include_details(&self) -> bool
pub fn include_details(&self) -> bool
Returns the value of include_details, or the default value if include_details is unset.
Sourcepub fn source_package_name(&self) -> &str
pub fn source_package_name(&self) -> &str
Returns the value of source_package_name, or the default value if source_package_name is unset.
Trait Implementations§
Source§impl Clone for BulkDetailsRequest
impl Clone for BulkDetailsRequest
Source§fn clone(&self) -> BulkDetailsRequest
fn clone(&self) -> BulkDetailsRequest
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 BulkDetailsRequest
impl Debug for BulkDetailsRequest
Source§impl Default for BulkDetailsRequest
impl Default for BulkDetailsRequest
Source§impl Message for BulkDetailsRequest
impl Message for BulkDetailsRequest
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(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
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(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
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(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for BulkDetailsRequest
impl PartialEq for BulkDetailsRequest
impl StructuralPartialEq for BulkDetailsRequest
Auto Trait Implementations§
impl Freeze for BulkDetailsRequest
impl RefUnwindSafe for BulkDetailsRequest
impl Send for BulkDetailsRequest
impl Sync for BulkDetailsRequest
impl Unpin for BulkDetailsRequest
impl UnwindSafe for BulkDetailsRequest
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