#[non_exhaustive]pub struct SubscribedProjectInputBuilder { /* private fields */ }
Expand description
A builder for SubscribedProjectInput
.
Implementations§
source§impl SubscribedProjectInputBuilder
impl SubscribedProjectInputBuilder
sourcepub fn identifier(self, input: impl Into<String>) -> Self
pub fn identifier(self, input: impl Into<String>) -> Self
The identifier of the project that is to be given a subscription grant.
sourcepub fn set_identifier(self, input: Option<String>) -> Self
pub fn set_identifier(self, input: Option<String>) -> Self
The identifier of the project that is to be given a subscription grant.
sourcepub fn get_identifier(&self) -> &Option<String>
pub fn get_identifier(&self) -> &Option<String>
The identifier of the project that is to be given a subscription grant.
sourcepub fn build(self) -> SubscribedProjectInput
pub fn build(self) -> SubscribedProjectInput
Consumes the builder and constructs a SubscribedProjectInput
.
Trait Implementations§
source§impl Clone for SubscribedProjectInputBuilder
impl Clone for SubscribedProjectInputBuilder
source§fn clone(&self) -> SubscribedProjectInputBuilder
fn clone(&self) -> SubscribedProjectInputBuilder
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 Default for SubscribedProjectInputBuilder
impl Default for SubscribedProjectInputBuilder
source§fn default() -> SubscribedProjectInputBuilder
fn default() -> SubscribedProjectInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SubscribedProjectInputBuilder
impl PartialEq for SubscribedProjectInputBuilder
source§fn eq(&self, other: &SubscribedProjectInputBuilder) -> bool
fn eq(&self, other: &SubscribedProjectInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SubscribedProjectInputBuilder
Auto Trait Implementations§
impl Freeze for SubscribedProjectInputBuilder
impl RefUnwindSafe for SubscribedProjectInputBuilder
impl Send for SubscribedProjectInputBuilder
impl Sync for SubscribedProjectInputBuilder
impl Unpin for SubscribedProjectInputBuilder
impl UnwindSafe for SubscribedProjectInputBuilder
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.