pub struct ProviderAccountRequest {
pub provider: Box<BriefCircuitRequestProvider>,
pub name: Option<String>,
pub account: String,
pub description: Option<String>,
pub comments: Option<String>,
pub tags: Option<Vec<NestedTagRequest>>,
pub custom_fields: Option<HashMap<String, Value>>,
}Expand description
ProviderAccountRequest : Adds support for custom fields and tags.
Fields§
§provider: Box<BriefCircuitRequestProvider>§name: Option<String>§account: String§description: Option<String>§comments: Option<String>§custom_fields: Option<HashMap<String, Value>>Implementations§
Source§impl ProviderAccountRequest
impl ProviderAccountRequest
Sourcepub fn new(
provider: BriefCircuitRequestProvider,
account: String,
) -> ProviderAccountRequest
pub fn new( provider: BriefCircuitRequestProvider, account: String, ) -> ProviderAccountRequest
Adds support for custom fields and tags.
Trait Implementations§
Source§impl Clone for ProviderAccountRequest
impl Clone for ProviderAccountRequest
Source§fn clone(&self) -> ProviderAccountRequest
fn clone(&self) -> ProviderAccountRequest
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 ProviderAccountRequest
impl Debug for ProviderAccountRequest
Source§impl Default for ProviderAccountRequest
impl Default for ProviderAccountRequest
Source§fn default() -> ProviderAccountRequest
fn default() -> ProviderAccountRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProviderAccountRequest
impl<'de> Deserialize<'de> for ProviderAccountRequest
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 ProviderAccountRequest
impl PartialEq for ProviderAccountRequest
Source§impl Serialize for ProviderAccountRequest
impl Serialize for ProviderAccountRequest
impl StructuralPartialEq for ProviderAccountRequest
Auto Trait Implementations§
impl Freeze for ProviderAccountRequest
impl RefUnwindSafe for ProviderAccountRequest
impl Send for ProviderAccountRequest
impl Sync for ProviderAccountRequest
impl Unpin for ProviderAccountRequest
impl UnwindSafe for ProviderAccountRequest
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