#[non_exhaustive]pub struct UpdateServiceInput {
pub name: Option<String>,
pub description: Option<String>,
pub spec: Option<String>,
}
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.name: Option<String>
The name of the service to edit.
description: Option<String>
The edited service description.
spec: Option<String>
Lists the service instances to add and the existing service instances to remain. Omit the existing service instances to delete from the list. Don't include edits to the existing service instances or pipeline. For more information, see Edit a service in the Proton User Guide.
Implementations§
source§impl UpdateServiceInput
impl UpdateServiceInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The edited service description.
sourcepub fn spec(&self) -> Option<&str>
pub fn spec(&self) -> Option<&str>
Lists the service instances to add and the existing service instances to remain. Omit the existing service instances to delete from the list. Don't include edits to the existing service instances or pipeline. For more information, see Edit a service in the Proton User Guide.
source§impl UpdateServiceInput
impl UpdateServiceInput
sourcepub fn builder() -> UpdateServiceInputBuilder
pub fn builder() -> UpdateServiceInputBuilder
Creates a new builder-style object to manufacture UpdateServiceInput
.
Trait Implementations§
source§impl Clone for UpdateServiceInput
impl Clone for UpdateServiceInput
source§fn clone(&self) -> UpdateServiceInput
fn clone(&self) -> UpdateServiceInput
Returns a copy 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 UpdateServiceInput
impl Debug for UpdateServiceInput
source§impl PartialEq for UpdateServiceInput
impl PartialEq for UpdateServiceInput
source§fn eq(&self, other: &UpdateServiceInput) -> bool
fn eq(&self, other: &UpdateServiceInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateServiceInput
Auto Trait Implementations§
impl RefUnwindSafe for UpdateServiceInput
impl Send for UpdateServiceInput
impl Sync for UpdateServiceInput
impl Unpin for UpdateServiceInput
impl UnwindSafe for UpdateServiceInput
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> 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>
Creates a shared type from an unshared type.