Skip to main content

StrippedRoomState

Type Alias StrippedRoomState 

Source
pub type StrippedRoomState = Option<Vec<Raw<AnyStrippedStateEvent>>>;
Expand description

Input types for applying membership-cache transitions.

The update descriptor owns event data while borrowing the affected user and room identifiers. Optional stripped state accompanies invite and knock transitions. Input types for applying membership-cache transitions.

The update descriptor owns event data while borrowing the affected user and room identifiers. Optional stripped state accompanies invite and knock transitions. Input types for applying membership-cache transitions.

The update descriptor owns event data while borrowing the affected user and room identifiers. Optional stripped state accompanies invite and knock transitions. Optional stripped room state attached to invite and knock transitions.

None means the caller supplied no state, while Some can contain an empty event vector. Invite handling preserves an existing nonempty row when no new state is supplied.

Aliased Type§

pub enum StrippedRoomState {
    None,
    Some(Vec<Raw<AnyStrippedStateEvent, 48>>),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(Vec<Raw<AnyStrippedStateEvent, 48>>)

Some value of type T.