#[non_exhaustive]pub struct FileSystemDataSourceBuilder { /* private fields */ }
Expand description
A builder for FileSystemDataSource
.
Implementations§
source§impl FileSystemDataSourceBuilder
impl FileSystemDataSourceBuilder
sourcepub fn file_system_id(self, input: impl Into<String>) -> Self
pub fn file_system_id(self, input: impl Into<String>) -> Self
The file system id.
sourcepub fn set_file_system_id(self, input: Option<String>) -> Self
pub fn set_file_system_id(self, input: Option<String>) -> Self
The file system id.
sourcepub fn file_system_access_mode(self, input: FileSystemAccessMode) -> Self
pub fn file_system_access_mode(self, input: FileSystemAccessMode) -> Self
The access mode of the mount of the directory associated with the channel. A directory can be mounted either in ro
(read-only) or rw
(read-write) mode.
sourcepub fn set_file_system_access_mode(
self,
input: Option<FileSystemAccessMode>
) -> Self
pub fn set_file_system_access_mode( self, input: Option<FileSystemAccessMode> ) -> Self
The access mode of the mount of the directory associated with the channel. A directory can be mounted either in ro
(read-only) or rw
(read-write) mode.
sourcepub fn file_system_type(self, input: FileSystemType) -> Self
pub fn file_system_type(self, input: FileSystemType) -> Self
The file system type.
sourcepub fn set_file_system_type(self, input: Option<FileSystemType>) -> Self
pub fn set_file_system_type(self, input: Option<FileSystemType>) -> Self
The file system type.
sourcepub fn directory_path(self, input: impl Into<String>) -> Self
pub fn directory_path(self, input: impl Into<String>) -> Self
The full path to the directory to associate with the channel.
sourcepub fn set_directory_path(self, input: Option<String>) -> Self
pub fn set_directory_path(self, input: Option<String>) -> Self
The full path to the directory to associate with the channel.
sourcepub fn build(self) -> FileSystemDataSource
pub fn build(self) -> FileSystemDataSource
Consumes the builder and constructs a FileSystemDataSource
.
Trait Implementations§
source§impl Clone for FileSystemDataSourceBuilder
impl Clone for FileSystemDataSourceBuilder
source§fn clone(&self) -> FileSystemDataSourceBuilder
fn clone(&self) -> FileSystemDataSourceBuilder
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 FileSystemDataSourceBuilder
impl Debug for FileSystemDataSourceBuilder
source§impl Default for FileSystemDataSourceBuilder
impl Default for FileSystemDataSourceBuilder
source§fn default() -> FileSystemDataSourceBuilder
fn default() -> FileSystemDataSourceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<FileSystemDataSourceBuilder> for FileSystemDataSourceBuilder
impl PartialEq<FileSystemDataSourceBuilder> for FileSystemDataSourceBuilder
source§fn eq(&self, other: &FileSystemDataSourceBuilder) -> bool
fn eq(&self, other: &FileSystemDataSourceBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FileSystemDataSourceBuilder
Auto Trait Implementations§
impl RefUnwindSafe for FileSystemDataSourceBuilder
impl Send for FileSystemDataSourceBuilder
impl Sync for FileSystemDataSourceBuilder
impl Unpin for FileSystemDataSourceBuilder
impl UnwindSafe for FileSystemDataSourceBuilder
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