pub struct HashiPayload {
pub import_as_json: Option<bool>,
pub namespaces: Option<Vec<String>>,
pub token: Option<String>,
pub url: Option<String>,
}Fields§
§import_as_json: Option<bool>§namespaces: Option<Vec<String>>§token: Option<String>§url: Option<String>Implementations§
Source§impl HashiPayload
impl HashiPayload
pub fn new() -> HashiPayload
Trait Implementations§
Source§impl Clone for HashiPayload
impl Clone for HashiPayload
Source§fn clone(&self) -> HashiPayload
fn clone(&self) -> HashiPayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HashiPayload
impl Debug for HashiPayload
Source§impl Default for HashiPayload
impl Default for HashiPayload
Source§fn default() -> HashiPayload
fn default() -> HashiPayload
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HashiPayload
impl<'de> Deserialize<'de> for HashiPayload
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
Source§impl PartialEq for HashiPayload
impl PartialEq for HashiPayload
Source§fn eq(&self, other: &HashiPayload) -> bool
fn eq(&self, other: &HashiPayload) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HashiPayload
impl Serialize for HashiPayload
impl StructuralPartialEq for HashiPayload
Auto Trait Implementations§
impl Freeze for HashiPayload
impl RefUnwindSafe for HashiPayload
impl Send for HashiPayload
impl Sync for HashiPayload
impl Unpin for HashiPayload
impl UnsafeUnpin for HashiPayload
impl UnwindSafe for HashiPayload
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