pub struct Options {
pub version_id: Option<String>,
pub project_id: Option<u64>,
}
Expand description
Represents the configuration settings
Fields§
§version_id: Option<String>
§project_id: Option<u64>
Implementations§
Source§impl Options
impl Options
Sourcepub fn new(version_id: Option<String>, project_id: Option<u64>) -> Self
pub fn new(version_id: Option<String>, project_id: Option<u64>) -> Self
Creates a new Options
instance with the specified version ID and project ID.
§Arguments
version_id
- The version ID to be set in the configuration.project_id
- The project ID to be set in the configuration.
pub fn builder() -> OptionsBuilder
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Options
impl<'de> Deserialize<'de> for Options
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Options
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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