#[non_exhaustive]pub struct RStudioServerProAppSettingsBuilder { /* private fields */ }
Expand description
A builder for RStudioServerProAppSettings
.
Implementations§
source§impl RStudioServerProAppSettingsBuilder
impl RStudioServerProAppSettingsBuilder
sourcepub fn access_status(self, input: RStudioServerProAccessStatus) -> Self
pub fn access_status(self, input: RStudioServerProAccessStatus) -> Self
Indicates whether the current user has access to the RStudioServerPro
app.
sourcepub fn set_access_status(
self,
input: Option<RStudioServerProAccessStatus>,
) -> Self
pub fn set_access_status( self, input: Option<RStudioServerProAccessStatus>, ) -> Self
Indicates whether the current user has access to the RStudioServerPro
app.
sourcepub fn get_access_status(&self) -> &Option<RStudioServerProAccessStatus>
pub fn get_access_status(&self) -> &Option<RStudioServerProAccessStatus>
Indicates whether the current user has access to the RStudioServerPro
app.
sourcepub fn user_group(self, input: RStudioServerProUserGroup) -> Self
pub fn user_group(self, input: RStudioServerProUserGroup) -> Self
The level of permissions that the user has within the RStudioServerPro
app. This value defaults to `User`. The `Admin` value allows the user access to the RStudio Administrative Dashboard.
sourcepub fn set_user_group(self, input: Option<RStudioServerProUserGroup>) -> Self
pub fn set_user_group(self, input: Option<RStudioServerProUserGroup>) -> Self
The level of permissions that the user has within the RStudioServerPro
app. This value defaults to `User`. The `Admin` value allows the user access to the RStudio Administrative Dashboard.
sourcepub fn get_user_group(&self) -> &Option<RStudioServerProUserGroup>
pub fn get_user_group(&self) -> &Option<RStudioServerProUserGroup>
The level of permissions that the user has within the RStudioServerPro
app. This value defaults to `User`. The `Admin` value allows the user access to the RStudio Administrative Dashboard.
sourcepub fn build(self) -> RStudioServerProAppSettings
pub fn build(self) -> RStudioServerProAppSettings
Consumes the builder and constructs a RStudioServerProAppSettings
.
Trait Implementations§
source§impl Clone for RStudioServerProAppSettingsBuilder
impl Clone for RStudioServerProAppSettingsBuilder
source§fn clone(&self) -> RStudioServerProAppSettingsBuilder
fn clone(&self) -> RStudioServerProAppSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RStudioServerProAppSettingsBuilder
impl Default for RStudioServerProAppSettingsBuilder
source§fn default() -> RStudioServerProAppSettingsBuilder
fn default() -> RStudioServerProAppSettingsBuilder
source§impl PartialEq for RStudioServerProAppSettingsBuilder
impl PartialEq for RStudioServerProAppSettingsBuilder
source§fn eq(&self, other: &RStudioServerProAppSettingsBuilder) -> bool
fn eq(&self, other: &RStudioServerProAppSettingsBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RStudioServerProAppSettingsBuilder
Auto Trait Implementations§
impl Freeze for RStudioServerProAppSettingsBuilder
impl RefUnwindSafe for RStudioServerProAppSettingsBuilder
impl Send for RStudioServerProAppSettingsBuilder
impl Sync for RStudioServerProAppSettingsBuilder
impl Unpin for RStudioServerProAppSettingsBuilder
impl UnwindSafe for RStudioServerProAppSettingsBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
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>
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 more