Struct aws_sdk_accessanalyzer::types::builders::PositionBuilder
source · #[non_exhaustive]pub struct PositionBuilder { /* private fields */ }
Expand description
A builder for Position
.
Implementations§
source§impl PositionBuilder
impl PositionBuilder
sourcepub fn line(self, input: i32) -> Self
pub fn line(self, input: i32) -> Self
The line of the position, starting from 1.
This field is required.sourcepub fn column(self, input: i32) -> Self
pub fn column(self, input: i32) -> Self
The column of the position, starting from 0.
This field is required.sourcepub fn set_column(self, input: Option<i32>) -> Self
pub fn set_column(self, input: Option<i32>) -> Self
The column of the position, starting from 0.
sourcepub fn get_column(&self) -> &Option<i32>
pub fn get_column(&self) -> &Option<i32>
The column of the position, starting from 0.
sourcepub fn offset(self, input: i32) -> Self
pub fn offset(self, input: i32) -> Self
The offset within the policy that corresponds to the position, starting from 0.
This field is required.sourcepub fn set_offset(self, input: Option<i32>) -> Self
pub fn set_offset(self, input: Option<i32>) -> Self
The offset within the policy that corresponds to the position, starting from 0.
sourcepub fn get_offset(&self) -> &Option<i32>
pub fn get_offset(&self) -> &Option<i32>
The offset within the policy that corresponds to the position, starting from 0.
Trait Implementations§
source§impl Clone for PositionBuilder
impl Clone for PositionBuilder
source§fn clone(&self) -> PositionBuilder
fn clone(&self) -> PositionBuilder
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 PositionBuilder
impl Debug for PositionBuilder
source§impl Default for PositionBuilder
impl Default for PositionBuilder
source§fn default() -> PositionBuilder
fn default() -> PositionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PositionBuilder
impl PartialEq for PositionBuilder
source§fn eq(&self, other: &PositionBuilder) -> bool
fn eq(&self, other: &PositionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PositionBuilder
Auto Trait Implementations§
impl Freeze for PositionBuilder
impl RefUnwindSafe for PositionBuilder
impl Send for PositionBuilder
impl Sync for PositionBuilder
impl Unpin for PositionBuilder
impl UnwindSafe for PositionBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.