#[non_exhaustive]pub struct AsyncAnnotateFileResponse {
pub output_config: Option<OutputConfig>,
/* private fields */
}Expand description
The response for a single offline file annotation request.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.output_config: Option<OutputConfig>The output location and metadata from AsyncAnnotateFileRequest.
Implementations§
Source§impl AsyncAnnotateFileResponse
impl AsyncAnnotateFileResponse
pub fn new() -> Self
Sourcepub fn set_output_config<T>(self, v: T) -> Selfwhere
T: Into<OutputConfig>,
pub fn set_output_config<T>(self, v: T) -> Selfwhere
T: Into<OutputConfig>,
Sets the value of output_config.
Sourcepub fn set_or_clear_output_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<OutputConfig>,
pub fn set_or_clear_output_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<OutputConfig>,
Sets or clears the value of output_config.
Trait Implementations§
Source§impl Clone for AsyncAnnotateFileResponse
impl Clone for AsyncAnnotateFileResponse
Source§fn clone(&self) -> AsyncAnnotateFileResponse
fn clone(&self) -> AsyncAnnotateFileResponse
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 AsyncAnnotateFileResponse
impl Debug for AsyncAnnotateFileResponse
Source§impl Default for AsyncAnnotateFileResponse
impl Default for AsyncAnnotateFileResponse
Source§fn default() -> AsyncAnnotateFileResponse
fn default() -> AsyncAnnotateFileResponse
Returns the “default value” for a type. Read more
Source§impl Message for AsyncAnnotateFileResponse
impl Message for AsyncAnnotateFileResponse
impl StructuralPartialEq for AsyncAnnotateFileResponse
Auto Trait Implementations§
impl Freeze for AsyncAnnotateFileResponse
impl RefUnwindSafe for AsyncAnnotateFileResponse
impl Send for AsyncAnnotateFileResponse
impl Sync for AsyncAnnotateFileResponse
impl Unpin for AsyncAnnotateFileResponse
impl UnwindSafe for AsyncAnnotateFileResponse
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