Struct sendgrid_api::types::PostTemplatesRequest
source · pub struct PostTemplatesRequest {
pub generation: Option<Generation>,
pub name: String,
}
Fields
generation: Option<Generation>
name: String
The license key provided with your New Relic account.
Trait Implementations
sourceimpl Clone for PostTemplatesRequest
impl Clone for PostTemplatesRequest
sourcefn clone(&self) -> PostTemplatesRequest
fn clone(&self) -> PostTemplatesRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PostTemplatesRequest
impl Debug for PostTemplatesRequest
sourceimpl<'de> Deserialize<'de> for PostTemplatesRequest
impl<'de> Deserialize<'de> for PostTemplatesRequest
sourcefn 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
sourceimpl JsonSchema for PostTemplatesRequest
impl JsonSchema for PostTemplatesRequest
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresourceimpl PartialEq<PostTemplatesRequest> for PostTemplatesRequest
impl PartialEq<PostTemplatesRequest> for PostTemplatesRequest
sourcefn eq(&self, other: &PostTemplatesRequest) -> bool
fn eq(&self, other: &PostTemplatesRequest) -> bool
sourceimpl Serialize for PostTemplatesRequest
impl Serialize for PostTemplatesRequest
impl StructuralPartialEq for PostTemplatesRequest
Auto Trait Implementations
impl RefUnwindSafe for PostTemplatesRequest
impl Send for PostTemplatesRequest
impl Sync for PostTemplatesRequest
impl Unpin for PostTemplatesRequest
impl UnwindSafe for PostTemplatesRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more