pub struct FileBuilder { /* private fields */ }Expand description
Builder for File object.
Implementations§
Source§impl FileBuilder
impl FileBuilder
Sourcepub fn get_external_id(&self) -> Option<&String>
pub fn get_external_id(&self) -> Option<&String>
get external_id field value.
Sourcepub fn set_external_id(self, value: Option<impl Into<String>>) -> Self
pub fn set_external_id(self, value: Option<impl Into<String>>) -> Self
set external_id field value.
Sourcepub fn external_id(self, value: impl Into<String>) -> Self
pub fn external_id(self, value: impl Into<String>) -> Self
set external_id field value.
Sourcepub fn get_source(&self) -> Option<&FileSource>
pub fn get_source(&self) -> Option<&FileSource>
get source field value.
Sourcepub fn set_source(self, value: Option<impl Into<FileSource>>) -> Self
pub fn set_source(self, value: Option<impl Into<FileSource>>) -> Self
set source field value.
Sourcepub fn source(self, value: impl Into<FileSource>) -> Self
pub fn source(self, value: impl Into<FileSource>) -> Self
set source field value.
Sourcepub fn get_block_id(&self) -> Option<&String>
pub fn get_block_id(&self) -> Option<&String>
get block_id field value.
Sourcepub fn set_block_id(self, value: Option<impl Into<String>>) -> Self
pub fn set_block_id(self, value: Option<impl Into<String>>) -> Self
set block_id field value.
Trait Implementations§
Source§impl Debug for FileBuilder
impl Debug for FileBuilder
Auto Trait Implementations§
impl Freeze for FileBuilder
impl RefUnwindSafe for FileBuilder
impl Send for FileBuilder
impl Sync for FileBuilder
impl Unpin for FileBuilder
impl UnsafeUnpin for FileBuilder
impl UnwindSafe for FileBuilder
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