pub struct CreateCustomObjectInput {
pub type_handle: String,
pub handle: Option<String>,
pub owner_type: Option<String>,
pub owner_id: Option<String>,
pub values_json: String,
}Fields§
§type_handle: String§handle: Option<String>§owner_type: Option<String>§owner_id: Option<String>§values_json: StringJSON string representing record values (must be an object).
Trait Implementations§
Source§impl Clone for CreateCustomObjectInput
impl Clone for CreateCustomObjectInput
Source§fn clone(&self) -> CreateCustomObjectInput
fn clone(&self) -> CreateCustomObjectInput
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<'de> Deserialize<'de> for CreateCustomObjectInput
impl<'de> Deserialize<'de> for CreateCustomObjectInput
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 FromNapiValue for CreateCustomObjectInput
impl FromNapiValue for CreateCustomObjectInput
Source§unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
Safety Read more
fn from_unknown(value: JsUnknown) -> Result<Self, Error>
Source§impl Serialize for CreateCustomObjectInput
impl Serialize for CreateCustomObjectInput
Source§impl ToNapiValue for CreateCustomObjectInput
impl ToNapiValue for CreateCustomObjectInput
Source§unsafe fn to_napi_value(
env: napi_env,
val: CreateCustomObjectInput,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: CreateCustomObjectInput, ) -> Result<napi_value>
Safety Read more
Source§impl TypeName for CreateCustomObjectInput
impl TypeName for CreateCustomObjectInput
Source§impl ValidateNapiValue for CreateCustomObjectInput
impl ValidateNapiValue for CreateCustomObjectInput
Source§unsafe fn validate(
env: *mut napi_env__,
napi_val: *mut napi_value__,
) -> Result<*mut napi_value__, Error>
unsafe fn validate( env: *mut napi_env__, napi_val: *mut napi_value__, ) -> Result<*mut napi_value__, Error>
Safety Read more
Auto Trait Implementations§
impl Freeze for CreateCustomObjectInput
impl RefUnwindSafe for CreateCustomObjectInput
impl Send for CreateCustomObjectInput
impl Sync for CreateCustomObjectInput
impl Unpin for CreateCustomObjectInput
impl UnsafeUnpin for CreateCustomObjectInput
impl UnwindSafe for CreateCustomObjectInput
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