pub struct UpdateContainerizedExtractorRequest {
pub rid: String,
pub workspace_rid: String,
pub name: Option<String>,
pub description: Option<String>,
pub is_archived: Option<bool>,
pub active_container_image_rid: Option<String>,
}Expand description
Partial update. Only fields explicitly set on the request are modified; unset fields are left
unchanged on the existing extractor. Archive / unarchive are expressed through this request by
setting is_archived. The active container image is selected by setting
active_container_image_rid.
Fields§
§rid: String§workspace_rid: String§name: Option<String>§description: Option<String>§is_archived: Option<bool>Set to true to archive, false to unarchive. Leave unset to leave archive state unchanged.
active_container_image_rid: Option<String>RID of the container image to set as the active one for this extractor. Must reference a ContainerImage that is owned by the same workspace, was built for this extractor, and has reached READY status. Leave unset to leave the active image unchanged.
Implementations§
Source§impl UpdateContainerizedExtractorRequest
impl UpdateContainerizedExtractorRequest
Sourcepub fn description(&self) -> &str
pub fn description(&self) -> &str
Returns the value of description, or the default value if description is unset.
Sourcepub fn is_archived(&self) -> bool
pub fn is_archived(&self) -> bool
Returns the value of is_archived, or the default value if is_archived is unset.
Sourcepub fn active_container_image_rid(&self) -> &str
pub fn active_container_image_rid(&self) -> &str
Returns the value of active_container_image_rid, or the default value if active_container_image_rid is unset.
Trait Implementations§
Source§impl Clone for UpdateContainerizedExtractorRequest
impl Clone for UpdateContainerizedExtractorRequest
Source§fn clone(&self) -> UpdateContainerizedExtractorRequest
fn clone(&self) -> UpdateContainerizedExtractorRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Message for UpdateContainerizedExtractorRequest
impl Message for UpdateContainerizedExtractorRequest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
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,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
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,
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,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
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,
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,
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,
self.Source§impl PartialEq for UpdateContainerizedExtractorRequest
impl PartialEq for UpdateContainerizedExtractorRequest
Source§fn eq(&self, other: &UpdateContainerizedExtractorRequest) -> bool
fn eq(&self, other: &UpdateContainerizedExtractorRequest) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateContainerizedExtractorRequest
Auto Trait Implementations§
impl Freeze for UpdateContainerizedExtractorRequest
impl RefUnwindSafe for UpdateContainerizedExtractorRequest
impl Send for UpdateContainerizedExtractorRequest
impl Sync for UpdateContainerizedExtractorRequest
impl Unpin for UpdateContainerizedExtractorRequest
impl UnsafeUnpin for UpdateContainerizedExtractorRequest
impl UnwindSafe for UpdateContainerizedExtractorRequest
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
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>
T in a tonic::Request