pub struct NodeClientConfig {
pub api_key: String,
pub server_url: String,
}Expand description
Configuration for creating a BriefcaseClient.
Fields§
§api_key: String§server_url: StringTrait Implementations§
Source§impl FromNapiValue for NodeClientConfig
impl FromNapiValue for NodeClientConfig
Source§unsafe fn from_napi_value(
env: napi_env,
napi_val: napi_value,
) -> Result<NodeClientConfig>
unsafe fn from_napi_value( env: napi_env, napi_val: napi_value, ) -> Result<NodeClientConfig>
Safety Read more
fn from_unknown(value: Unknown<'_>) -> Result<Self, Error>
Source§impl ToNapiValue for NodeClientConfig
impl ToNapiValue for NodeClientConfig
Source§unsafe fn to_napi_value(
env: napi_env,
val: NodeClientConfig,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: NodeClientConfig, ) -> Result<napi_value>
Safety Read more
fn into_unknown(self, env: &Env) -> Result<Unknown<'_>, Error>
Source§impl TypeName for NodeClientConfig
impl TypeName for NodeClientConfig
Source§impl ValidateNapiValue for NodeClientConfig
impl ValidateNapiValue for NodeClientConfig
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 NodeClientConfig
impl RefUnwindSafe for NodeClientConfig
impl Send for NodeClientConfig
impl Sync for NodeClientConfig
impl Unpin for NodeClientConfig
impl UnsafeUnpin for NodeClientConfig
impl UnwindSafe for NodeClientConfig
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