pub struct Star {
pub repo: RepositoryIdentity,
pub staring_user: OwnerName,
}
Fields§
§repo: RepositoryIdentity
§staring_user: OwnerName
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Star
impl<'de> Deserialize<'de> for Star
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 Entity for Star
impl Entity for Star
Source§impl EntityDef for Star
impl EntityDef for Star
Source§const ENTITY_TYPE: &'static EntityTypeNameRef
const ENTITY_TYPE: &'static EntityTypeNameRef
The name of the entity type Read more
Source§const PROJECTED_ATTRIBUTES: &'static [&'static str]
const PROJECTED_ATTRIBUTES: &'static [&'static str]
The set of attributes that are projected into the entity Read more
Auto Trait Implementations§
impl Freeze for Star
impl RefUnwindSafe for Star
impl Send for Star
impl Sync for Star
impl Unpin for Star
impl UnwindSafe for Star
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EntityExt for Twhere
T: Entity,
impl<T> EntityExt for Twhere
T: Entity,
Source§const KEY_DEFINITION: PrimaryKeyDefinition = <<Self::Table as Table>::PrimaryKey as
keys::PrimaryKey>::PRIMARY_KEY_DEFINITION
const KEY_DEFINITION: PrimaryKeyDefinition = <<Self::Table as Table>::PrimaryKey as keys::PrimaryKey>::PRIMARY_KEY_DEFINITION
The definition for the entity’s primary key
Source§fn into_item(self) -> HashMap<String, AttributeValue>where
Self: Serialize,
fn into_item(self) -> HashMap<String, AttributeValue>where
Self: Serialize,
Convert the entity into a DynamoDB item Read more
Source§fn create(self) -> ConditionalPutwhere
Self: Serialize,
fn create(self) -> ConditionalPutwhere
Self: Serialize,
Prepares a put operation for the entity that requires that
no entity already exist with the same key
Source§fn replace(self) -> ConditionalPutwhere
Self: Serialize,
fn replace(self) -> ConditionalPutwhere
Self: Serialize,
Prepares a put operation for the entity that requires that
an entity already exist with the same key
Source§fn update(key: Self::KeyInput<'_>) -> Update
fn update(key: Self::KeyInput<'_>) -> Update
Prepares an update operation for the entity Read more
Source§fn condition_check(
key: Self::KeyInput<'_>,
condition: Condition,
) -> ConditionCheck
fn condition_check( key: Self::KeyInput<'_>, condition: Condition, ) -> ConditionCheck
Prepares a condition check operation for the entity, for transactional writes
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.
Source§impl<T> Projection for Twhere
T: Entity,
impl<T> Projection for Twhere
T: Entity,
Source§impl<'a, P> ProjectionExt for Pwhere
P: Projection + Deserialize<'a>,
impl<'a, P> ProjectionExt for Pwhere
P: Projection + Deserialize<'a>,
Source§impl<'a, P> ProjectionSet for Pwhere
P: Projection + Deserialize<'a> + 'static,
impl<'a, P> ProjectionSet for Pwhere
P: Projection + Deserialize<'a> + 'static,
Source§fn try_from_item(
item: HashMap<String, AttributeValue>,
) -> Result<Option<P>, Error>
fn try_from_item( item: HashMap<String, AttributeValue>, ) -> Result<Option<P>, Error>
Attempt to parse an known entity from a DynamoDB item Read more
Source§fn projection_expression() -> Option<StaticProjection>
fn projection_expression() -> Option<StaticProjection>
Generate a projection expression for the aggregate Read more