Struct sbr::data::Interaction[][src]

pub struct Interaction { /* fields omitted */ }

Basic interaction type.

Methods

impl Interaction
[src]

Create a new interaction.

impl Interaction
[src]

Return the user id.

Return the item id.

Return the interaction weight.

Return the interaction timestamp.

Trait Implementations

impl Clone for Interaction
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Interaction
[src]

Formats the value using the given formatter. Read more

impl Eq for Interaction
[src]

impl Hash for Interaction
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for Interaction
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for Interaction

impl Sync for Interaction