pub struct PlannedChild { /* private fields */ }Implementations§
Source§impl PlannedChild
impl PlannedChild
pub fn new( child_id: CeremonyId, position: ChildPosition, ceremony: CeremonyName, version: CeremonyVersion, digest: CeremonyDefinitionDigest, context: CeremonyContext, lineage: CeremonyLineage, recollection: Option<SessionRecollection>, opened_at: OffsetDateTime, ) -> Self
pub fn with_budget_account_id(self, account_id: Option<BudgetAccountId>) -> Self
pub fn child_id(&self) -> &CeremonyId
pub const fn position(&self) -> ChildPosition
pub fn ceremony(&self) -> &CeremonyName
pub fn version(&self) -> &CeremonyVersion
pub const fn digest(&self) -> CeremonyDefinitionDigest
pub fn context(&self) -> &CeremonyContext
pub fn lineage(&self) -> &CeremonyLineage
pub fn recollection(&self) -> Option<&SessionRecollection>
pub fn budget_account_id(&self) -> Option<&BudgetAccountId>
pub const fn opened_at(&self) -> OffsetDateTime
Trait Implementations§
Source§impl Clone for PlannedChild
impl Clone for PlannedChild
Source§fn clone(&self) -> PlannedChild
fn clone(&self) -> PlannedChild
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PlannedChild
impl Debug for PlannedChild
Source§impl<'de> Deserialize<'de> for PlannedChild
impl<'de> Deserialize<'de> for PlannedChild
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
impl Eq for PlannedChild
Source§impl PartialEq for PlannedChild
impl PartialEq for PlannedChild
Source§impl Serialize for PlannedChild
impl Serialize for PlannedChild
impl StructuralPartialEq for PlannedChild
Auto Trait Implementations§
impl Freeze for PlannedChild
impl RefUnwindSafe for PlannedChild
impl Send for PlannedChild
impl Sync for PlannedChild
impl Unpin for PlannedChild
impl UnsafeUnpin for PlannedChild
impl UnwindSafe for PlannedChild
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