pub struct DeployClientConfig {
pub endpoint: String,
pub token: Option<String>,
pub workspace_id: Option<String>,
}Fields§
§endpoint: String§token: Option<String>§workspace_id: Option<String>Implementations§
Source§impl DeployClientConfig
impl DeployClientConfig
pub fn default_path() -> DeployResult<PathBuf>
pub fn load() -> DeployResult<Self>
pub fn save(&self) -> DeployResult<()>
Trait Implementations§
Source§impl Clone for DeployClientConfig
impl Clone for DeployClientConfig
Source§fn clone(&self) -> DeployClientConfig
fn clone(&self) -> DeployClientConfig
Returns a duplicate 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 DeployClientConfig
impl Debug for DeployClientConfig
Source§impl Default for DeployClientConfig
impl Default for DeployClientConfig
Source§fn default() -> DeployClientConfig
fn default() -> DeployClientConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeployClientConfig
impl<'de> Deserialize<'de> for DeployClientConfig
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
Auto Trait Implementations§
impl Freeze for DeployClientConfig
impl RefUnwindSafe for DeployClientConfig
impl Send for DeployClientConfig
impl Sync for DeployClientConfig
impl Unpin for DeployClientConfig
impl UnsafeUnpin for DeployClientConfig
impl UnwindSafe for DeployClientConfig
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