#[non_exhaustive]pub struct AcquireSsrsLeaseContext {
pub setup_login: Option<String>,
pub service_login: Option<String>,
pub report_database: Option<String>,
pub duration: Option<Duration>,
/* private fields */
}
Expand description
Acquire SSRS lease context.
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.setup_login: Option<String>
The username to be used as the setup login to connect to the database server for SSRS setup.
service_login: Option<String>
The username to be used as the service login to connect to the report database for SSRS setup.
report_database: Option<String>
The report database to be used for SSRS setup.
duration: Option<Duration>
Lease duration needed for SSRS setup.
Implementations§
Source§impl AcquireSsrsLeaseContext
impl AcquireSsrsLeaseContext
pub fn new() -> Self
Sourcepub fn set_setup_login<T>(self, v: T) -> Self
pub fn set_setup_login<T>(self, v: T) -> Self
Sets the value of setup_login.
Sourcepub fn set_or_clear_setup_login<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_setup_login<T>(self, v: Option<T>) -> Self
Sets or clears the value of setup_login.
Sourcepub fn set_service_login<T>(self, v: T) -> Self
pub fn set_service_login<T>(self, v: T) -> Self
Sets the value of service_login.
Sourcepub fn set_or_clear_service_login<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_service_login<T>(self, v: Option<T>) -> Self
Sets or clears the value of service_login.
Sourcepub fn set_report_database<T>(self, v: T) -> Self
pub fn set_report_database<T>(self, v: T) -> Self
Sets the value of report_database.
Sourcepub fn set_or_clear_report_database<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_report_database<T>(self, v: Option<T>) -> Self
Sets or clears the value of report_database.
Sourcepub fn set_duration<T>(self, v: T) -> Self
pub fn set_duration<T>(self, v: T) -> Self
Sets the value of duration.
Trait Implementations§
Source§impl Clone for AcquireSsrsLeaseContext
impl Clone for AcquireSsrsLeaseContext
Source§fn clone(&self) -> AcquireSsrsLeaseContext
fn clone(&self) -> AcquireSsrsLeaseContext
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AcquireSsrsLeaseContext
impl Debug for AcquireSsrsLeaseContext
Source§impl Default for AcquireSsrsLeaseContext
impl Default for AcquireSsrsLeaseContext
Source§fn default() -> AcquireSsrsLeaseContext
fn default() -> AcquireSsrsLeaseContext
Returns the “default value” for a type. Read more
Source§impl Message for AcquireSsrsLeaseContext
impl Message for AcquireSsrsLeaseContext
Source§impl PartialEq for AcquireSsrsLeaseContext
impl PartialEq for AcquireSsrsLeaseContext
impl StructuralPartialEq for AcquireSsrsLeaseContext
Auto Trait Implementations§
impl Freeze for AcquireSsrsLeaseContext
impl RefUnwindSafe for AcquireSsrsLeaseContext
impl Send for AcquireSsrsLeaseContext
impl Sync for AcquireSsrsLeaseContext
impl Unpin for AcquireSsrsLeaseContext
impl UnwindSafe for AcquireSsrsLeaseContext
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