#[non_exhaustive]pub struct ProfileSetInput {
pub org: Option<String>,
pub namespace: Option<String>,
pub agent: Option<String>,
pub user_id: Option<String>,
pub session_id: Option<String>,
pub run_id: Option<String>,
pub label: String,
pub value: String,
pub char_limit: Option<Integer>,
pub source_trace: Option<String>,
pub if_match_sha256: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.org: Option<String>§namespace: Option<String>§agent: Option<String>§user_id: Option<String>§session_id: Option<String>§run_id: Option<String>§label: String§value: String§char_limit: Option<Integer>§source_trace: Option<String>§if_match_sha256: Option<String>Implementations§
Source§impl ProfileSetInput
impl ProfileSetInput
pub fn new(label: impl Into<String>, value: impl Into<String>) -> Self
pub fn org(self, org: impl Into<String>) -> Self
pub fn namespace(self, namespace: impl Into<String>) -> Self
pub fn agent(self, agent: impl Into<String>) -> Self
pub fn user_id(self, user_id: impl Into<String>) -> Self
pub fn session_id(self, session_id: impl Into<String>) -> Self
pub fn run_id(self, run_id: impl Into<String>) -> Self
pub fn char_limit(self, char_limit: impl Into<Integer>) -> Self
pub fn source_trace(self, source_trace: impl Into<String>) -> Self
pub fn if_match_sha256(self, if_match_sha256: impl Into<String>) -> Self
pub async fn send( self, client: &Client, options: CallOptions, ) -> Result<CallResult<ProfileMutationOutput>, CallFailure>
Trait Implementations§
Source§impl Clone for ProfileSetInput
impl Clone for ProfileSetInput
Source§impl Debug for ProfileSetInput
impl Debug for ProfileSetInput
Source§impl<'de> Deserialize<'de> for ProfileSetInput
impl<'de> Deserialize<'de> for ProfileSetInput
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 ProfileSetInput
impl PartialEq for ProfileSetInput
Source§impl Serialize for ProfileSetInput
impl Serialize for ProfileSetInput
impl StructuralPartialEq for ProfileSetInput
Auto Trait Implementations§
impl Forget for ProfileSetInput
impl Freeze for ProfileSetInput
impl Move for ProfileSetInput
impl RefUnwindSafe for ProfileSetInput
impl Send for ProfileSetInput
impl Sync for ProfileSetInput
impl Unpin for ProfileSetInput
impl UnsafeUnpin for ProfileSetInput
impl UnwindSafe for ProfileSetInput
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