pub struct UserDataMapping {
pub archive_time: Option<DateTime<Utc>>,
pub archived: Option<bool>,
pub data_id: Option<String>,
pub name: Option<String>,
pub resource_attributes: Option<Vec<Attribute>>,
pub user_id: Option<String>,
}
Expand description
Maps a resource to the associated user and Attributes.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations datasets consent stores user data mappings create projects (request|response)
- locations datasets consent stores user data mappings get projects (response)
- locations datasets consent stores user data mappings patch projects (request|response)
Fields§
§archive_time: Option<DateTime<Utc>>
Output only. Indicates the time when this mapping was archived.
archived: Option<bool>
Output only. Indicates whether this mapping is archived.
data_id: Option<String>
Required. A unique identifier for the mapped resource.
name: Option<String>
Resource name of the User data mapping, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/userDataMappings/{user_data_mapping_id}
.
resource_attributes: Option<Vec<Attribute>>
Attributes of the resource. Only explicitly set attributes are displayed here. Attribute definitions with defaults set implicitly apply to these User data mappings. Attributes listed here must be single valued, that is, exactly one value is specified for the field “values” in each Attribute.
user_id: Option<String>
Required. User’s UUID provided by the client.
Trait Implementations§
source§impl Clone for UserDataMapping
impl Clone for UserDataMapping
source§fn clone(&self) -> UserDataMapping
fn clone(&self) -> UserDataMapping
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UserDataMapping
impl Debug for UserDataMapping
source§impl Default for UserDataMapping
impl Default for UserDataMapping
source§fn default() -> UserDataMapping
fn default() -> UserDataMapping
source§impl<'de> Deserialize<'de> for UserDataMapping
impl<'de> Deserialize<'de> for UserDataMapping
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>,
source§impl Serialize for UserDataMapping
impl Serialize for UserDataMapping
impl RequestValue for UserDataMapping
impl ResponseResult for UserDataMapping
Auto Trait Implementations§
impl Freeze for UserDataMapping
impl RefUnwindSafe for UserDataMapping
impl Send for UserDataMapping
impl Sync for UserDataMapping
impl Unpin for UserDataMapping
impl UnwindSafe for UserDataMapping
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more