radroots_event.txt (329376B)
1 pub mod radroots_event 2 pub mod radroots_event::admission 3 #[non_exhaustive] pub enum radroots_event::admission::Error 4 pub radroots_event::admission::Error::ContractValidation(crate::contract::registry_v7::ContractValidationError) 5 pub radroots_event::admission::Error::IdMismatch 6 pub radroots_event::admission::Error::IdMismatch::actual: radroots_event::id::EventId 7 pub radroots_event::admission::Error::IdMismatch::expected: radroots_event::id::EventId 8 pub radroots_event::admission::Error::MalformedEnvelope 9 pub radroots_event::admission::Error::SignatureInvalid 10 impl radroots_event::Error 11 pub const fn radroots_event::Error::code(&self) -> &'static str 12 impl core::error::Error for radroots_event::Error 13 impl core::fmt::Display for radroots_event::Error 14 pub fn radroots_event::Error::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 15 pub struct radroots_event::admission::AdmittedEvent 16 impl radroots_event::admission::AdmittedEvent 17 pub const fn radroots_event::admission::AdmittedEvent::event(&self) -> &radroots_event::envelope::EventEnvelope 18 pub fn radroots_event::admission::AdmittedEvent::into_validated_event(self) -> radroots_event::admission::ContractValidatedEvent 19 pub fn radroots_event::admission::AdmittedEvent::make_visible_with<P>(self, &P) -> core::result::Result<radroots_event::admission::VisibleEvent, <P as radroots_event::admission::VisibilityPolicy>::Error> where P: radroots_event::admission::VisibilityPolicy + ?core::marker::Sized 20 pub const fn radroots_event::admission::AdmittedEvent::policy_id(&self) -> &'static str 21 pub const fn radroots_event::admission::AdmittedEvent::validated_event(&self) -> &radroots_event::admission::ContractValidatedEvent 22 pub struct radroots_event::admission::ContractValidatedEvent 23 impl radroots_event::admission::ContractValidatedEvent 24 pub fn radroots_event::admission::ContractValidatedEvent::admit_with<P>(self, &P) -> core::result::Result<radroots_event::admission::AdmittedEvent, <P as radroots_event::admission::AdmissionPolicy>::Error> where P: radroots_event::admission::AdmissionPolicy + ?core::marker::Sized 25 impl radroots_event::admission::ContractValidatedEvent 26 pub const fn radroots_event::admission::ContractValidatedEvent::contract(&self) -> &'static EventContract 27 pub const fn radroots_event::admission::ContractValidatedEvent::contract_id(&self) -> &'static str 28 pub const fn radroots_event::admission::ContractValidatedEvent::event(&self) -> &radroots_event::envelope::EventEnvelope 29 pub fn radroots_event::admission::ContractValidatedEvent::into_event(self) -> radroots_event::envelope::EventEnvelope 30 pub fn radroots_event::admission::ContractValidatedEvent::into_verified_event(self) -> radroots_event::VerifiedEvent 31 pub const fn radroots_event::admission::ContractValidatedEvent::verified_event(&self) -> &radroots_event::VerifiedEvent 32 pub struct radroots_event::admission::IdVerifiedEvent(_) 33 impl radroots_event::admission::IdVerifiedEvent 34 pub const fn radroots_event::admission::IdVerifiedEvent::event(&self) -> &radroots_event::envelope::EventEnvelope 35 pub fn radroots_event::admission::IdVerifiedEvent::into_event(self) -> radroots_event::envelope::EventEnvelope 36 pub fn radroots_event::admission::IdVerifiedEvent::verify_signature<V>(self, &V) -> core::result::Result<radroots_event::VerifiedEvent, radroots_event::Error> where V: radroots_event::admission::SignatureVerifier + ?core::marker::Sized 37 pub struct radroots_event::admission::RawEvent(_) 38 impl radroots_event::admission::RawEvent 39 pub const fn radroots_event::admission::RawEvent::event(&self) -> &radroots_event::envelope::EventEnvelope 40 pub fn radroots_event::admission::RawEvent::into_event(self) -> radroots_event::envelope::EventEnvelope 41 pub const fn radroots_event::admission::RawEvent::new(radroots_event::envelope::EventEnvelope) -> Self 42 pub fn radroots_event::admission::RawEvent::verify_id(self) -> core::result::Result<radroots_event::admission::IdVerifiedEvent, radroots_event::Error> 43 pub struct radroots_event::admission::SignatureVerifiedEvent(_) 44 impl radroots_event::VerifiedEvent 45 pub const fn radroots_event::VerifiedEvent::event(&self) -> &radroots_event::envelope::EventEnvelope 46 pub fn radroots_event::VerifiedEvent::into_event(self) -> radroots_event::envelope::EventEnvelope 47 pub fn radroots_event::VerifiedEvent::validate_contract(self) -> core::result::Result<radroots_event::admission::ContractValidatedEvent, radroots_event::Error> 48 pub fn radroots_event::VerifiedEvent::validate_contract_for_admission(self, &str) -> core::result::Result<radroots_event::admission::ContractValidatedEvent, radroots_event::Error> 49 pub struct radroots_event::admission::VisibleEvent 50 impl radroots_event::admission::VisibleEvent 51 pub const fn radroots_event::admission::VisibleEvent::admitted_event(&self) -> &radroots_event::admission::AdmittedEvent 52 pub const fn radroots_event::admission::VisibleEvent::event(&self) -> &radroots_event::envelope::EventEnvelope 53 pub fn radroots_event::admission::VisibleEvent::into_admitted_event(self) -> radroots_event::admission::AdmittedEvent 54 pub const fn radroots_event::admission::VisibleEvent::policy_id(&self) -> &'static str 55 pub trait radroots_event::admission::AdmissionPolicy: core::marker::Send + core::marker::Sync 56 pub type radroots_event::admission::AdmissionPolicy::Error 57 pub fn radroots_event::admission::AdmissionPolicy::admit(&self, &radroots_event::admission::ContractValidatedEvent) -> core::result::Result<(), Self::Error> 58 pub fn radroots_event::admission::AdmissionPolicy::policy_id(&self) -> &'static str 59 pub trait radroots_event::admission::SignatureVerifier: core::marker::Send + core::marker::Sync 60 pub fn radroots_event::admission::SignatureVerifier::verify_signature(&self, &radroots_event::envelope::EventEnvelope) -> core::result::Result<(), radroots_event::Error> 61 pub trait radroots_event::admission::VisibilityPolicy: core::marker::Send + core::marker::Sync 62 pub type radroots_event::admission::VisibilityPolicy::Error 63 pub fn radroots_event::admission::VisibilityPolicy::make_visible(&self, &radroots_event::admission::AdmittedEvent) -> core::result::Result<(), Self::Error> 64 pub fn radroots_event::admission::VisibilityPolicy::policy_id(&self) -> &'static str 65 pub mod radroots_event::calendar 66 #[non_exhaustive] pub enum radroots_event::calendar::CalendarAdmissionError 67 pub radroots_event::calendar::CalendarAdmissionError::AuthorHintMismatch 68 pub radroots_event::calendar::CalendarAdmissionError::CoveredDayLimitExceeded 69 pub radroots_event::calendar::CalendarAdmissionError::CoveredDayLimitExceeded::actual: u64 70 pub radroots_event::calendar::CalendarAdmissionError::CoveredDayLimitExceeded::max: u64 71 pub radroots_event::calendar::CalendarAdmissionError::DuplicateEventReference 72 pub radroots_event::calendar::CalendarAdmissionError::ForbiddenDateDayIndex 73 pub radroots_event::calendar::CalendarAdmissionError::IncompleteDayCoverage 74 pub radroots_event::calendar::CalendarAdmissionError::NonBlossomImage 75 pub radroots_event::calendar::CalendarAdmissionError::NonCanonicalField(&'static str) 76 impl radroots_event::calendar::CalendarAdmissionError 77 pub const fn radroots_event::calendar::CalendarAdmissionError::code(&self) -> &'static str 78 impl core::error::Error for radroots_event::calendar::CalendarAdmissionError 79 impl core::fmt::Display for radroots_event::calendar::CalendarAdmissionError 80 pub fn radroots_event::calendar::CalendarAdmissionError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 81 #[non_exhaustive] pub enum radroots_event::calendar::CalendarEventError 82 pub radroots_event::calendar::CalendarEventError::AuthorHintMismatch 83 pub radroots_event::calendar::CalendarEventError::ContentTooLarge 84 pub radroots_event::calendar::CalendarEventError::ContentTooLarge::actual: usize 85 pub radroots_event::calendar::CalendarEventError::ContentTooLarge::max: usize 86 pub radroots_event::calendar::CalendarEventError::CoveredDayLimitExceeded 87 pub radroots_event::calendar::CalendarEventError::CoveredDayLimitExceeded::actual: u64 88 pub radroots_event::calendar::CalendarEventError::CoveredDayLimitExceeded::max: u64 89 pub radroots_event::calendar::CalendarEventError::DeclinedFreeBusyForbidden 90 pub radroots_event::calendar::CalendarEventError::DuplicateEventReference 91 pub radroots_event::calendar::CalendarEventError::InvalidAuthorReference 92 pub radroots_event::calendar::CalendarEventError::InvalidCalendarUid 93 pub radroots_event::calendar::CalendarEventError::InvalidDate 94 pub radroots_event::calendar::CalendarEventError::InvalidEventReference 95 pub radroots_event::calendar::CalendarEventError::InvalidGeohash 96 pub radroots_event::calendar::CalendarEventError::InvalidIdentifier 97 pub radroots_event::calendar::CalendarEventError::InvalidParticipant 98 pub radroots_event::calendar::CalendarEventError::InvalidParticipant::index: usize 99 pub radroots_event::calendar::CalendarEventError::InvalidRange 100 pub radroots_event::calendar::CalendarEventError::InvalidRevisionReference 101 pub radroots_event::calendar::CalendarEventError::InvalidText(&'static str) 102 pub radroots_event::calendar::CalendarEventError::InvalidTimeZone 103 pub radroots_event::calendar::CalendarEventError::InvalidTitle 104 pub radroots_event::calendar::CalendarEventError::InvalidUrl(&'static str) 105 pub radroots_event::calendar::CalendarEventError::TagBytesExceeded 106 pub radroots_event::calendar::CalendarEventError::TagBytesExceeded::actual: usize 107 pub radroots_event::calendar::CalendarEventError::TagBytesExceeded::max: usize 108 pub radroots_event::calendar::CalendarEventError::TagCountExceeded 109 pub radroots_event::calendar::CalendarEventError::TagCountExceeded::actual: usize 110 pub radroots_event::calendar::CalendarEventError::TagCountExceeded::max: usize 111 pub radroots_event::calendar::CalendarEventError::TagElementTooLarge 112 pub radroots_event::calendar::CalendarEventError::TagElementTooLarge::actual: usize 113 pub radroots_event::calendar::CalendarEventError::TagElementTooLarge::field: &'static str 114 pub radroots_event::calendar::CalendarEventError::TagElementTooLarge::max: usize 115 pub radroots_event::calendar::CalendarEventError::TooManyParticipants 116 pub radroots_event::calendar::CalendarEventError::TooManyParticipants::actual: usize 117 pub radroots_event::calendar::CalendarEventError::TooManyParticipants::max: usize 118 impl radroots_event::calendar::CalendarEventError 119 pub const fn radroots_event::calendar::CalendarEventError::code(&self) -> &'static str 120 impl core::error::Error for radroots_event::calendar::CalendarEventError 121 impl core::fmt::Display for radroots_event::calendar::CalendarEventError 122 pub fn radroots_event::calendar::CalendarEventError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 123 pub enum radroots_event::calendar::CalendarEventFreeBusy 124 pub radroots_event::calendar::CalendarEventFreeBusy::Busy 125 pub radroots_event::calendar::CalendarEventFreeBusy::Free 126 pub enum radroots_event::calendar::CalendarEventRsvpStatus 127 pub radroots_event::calendar::CalendarEventRsvpStatus::Accepted 128 pub radroots_event::calendar::CalendarEventRsvpStatus::Declined 129 pub radroots_event::calendar::CalendarEventRsvpStatus::Tentative 130 pub struct radroots_event::calendar::AdmittedCalendar 131 impl radroots_event::calendar::AdmittedCalendar 132 pub fn radroots_event::calendar::AdmittedCalendar::blossom_image(&self) -> core::option::Option<&radroots_blossom::url::BlobUrl> 133 pub fn radroots_event::calendar::AdmittedCalendar::content(&self) -> &str 134 pub fn radroots_event::calendar::AdmittedCalendar::event_references(&self) -> &[radroots_event::calendar::CalendarEventReference] 135 pub fn radroots_event::calendar::AdmittedCalendar::list_description(&self) -> core::option::Option<&str> 136 pub fn radroots_event::calendar::AdmittedCalendar::parsed(&self) -> &radroots_event::calendar::ParsedNip52Calendar 137 pub fn radroots_event::calendar::AdmittedCalendar::title(&self) -> &str 138 pub fn radroots_event::calendar::AdmittedCalendar::try_from_parsed(radroots_event::calendar::ParsedNip52Calendar) -> core::result::Result<Self, radroots_event::calendar::CalendarAdmissionError> 139 pub fn radroots_event::calendar::AdmittedCalendar::uid(&self) -> &radroots_event::calendar::CalendarUid 140 pub struct radroots_event::calendar::AdmittedCalendarDateEvent 141 impl radroots_event::calendar::AdmittedCalendarDateEvent 142 pub fn radroots_event::calendar::AdmittedCalendarDateEvent::blossom_image(&self) -> core::option::Option<&radroots_blossom::url::BlobUrl> 143 pub fn radroots_event::calendar::AdmittedCalendarDateEvent::d_tag(&self) -> &radroots_event::id::DTag 144 pub fn radroots_event::calendar::AdmittedCalendarDateEvent::parsed(&self) -> &radroots_event::calendar::ParsedNip52CalendarDateEvent 145 pub fn radroots_event::calendar::AdmittedCalendarDateEvent::try_from_parsed(radroots_event::calendar::ParsedNip52CalendarDateEvent) -> core::result::Result<Self, radroots_event::calendar::CalendarAdmissionError> 146 pub struct radroots_event::calendar::AdmittedCalendarEventRsvp 147 impl radroots_event::calendar::AdmittedCalendarEventRsvp 148 pub fn radroots_event::calendar::AdmittedCalendarEventRsvp::author_hint(&self) -> core::option::Option<&radroots_event::calendar::CalendarEventAuthorReference> 149 pub fn radroots_event::calendar::AdmittedCalendarEventRsvp::effective_free_busy(&self) -> core::option::Option<&radroots_event::calendar::CalendarEventFreeBusy> 150 pub fn radroots_event::calendar::AdmittedCalendarEventRsvp::event_reference(&self) -> &radroots_event::calendar::CalendarEventReference 151 pub fn radroots_event::calendar::AdmittedCalendarEventRsvp::note(&self) -> core::option::Option<&str> 152 pub fn radroots_event::calendar::AdmittedCalendarEventRsvp::observed_free_busy(&self) -> core::option::Option<&radroots_event::calendar::CalendarEventFreeBusy> 153 pub fn radroots_event::calendar::AdmittedCalendarEventRsvp::parsed(&self) -> &radroots_event::calendar::ParsedNip52CalendarEventRsvp 154 pub fn radroots_event::calendar::AdmittedCalendarEventRsvp::revision_reference(&self) -> core::option::Option<&radroots_event::calendar::CalendarEventRevisionReference> 155 pub fn radroots_event::calendar::AdmittedCalendarEventRsvp::status(&self) -> &radroots_event::calendar::CalendarEventRsvpStatus 156 pub fn radroots_event::calendar::AdmittedCalendarEventRsvp::try_from_parsed(radroots_event::calendar::ParsedNip52CalendarEventRsvp) -> core::result::Result<Self, radroots_event::calendar::CalendarAdmissionError> 157 pub fn radroots_event::calendar::AdmittedCalendarEventRsvp::uid(&self) -> &radroots_event::calendar::CalendarUid 158 pub struct radroots_event::calendar::AdmittedCalendarTimeEvent 159 impl radroots_event::calendar::AdmittedCalendarTimeEvent 160 pub fn radroots_event::calendar::AdmittedCalendarTimeEvent::blossom_image(&self) -> core::option::Option<&radroots_blossom::url::BlobUrl> 161 pub fn radroots_event::calendar::AdmittedCalendarTimeEvent::covered_utc_days(&self) -> &[u64] 162 pub fn radroots_event::calendar::AdmittedCalendarTimeEvent::d_tag(&self) -> &radroots_event::id::DTag 163 pub fn radroots_event::calendar::AdmittedCalendarTimeEvent::parsed(&self) -> &radroots_event::calendar::ParsedNip52CalendarTimeEvent 164 pub fn radroots_event::calendar::AdmittedCalendarTimeEvent::try_from_parsed(radroots_event::calendar::ParsedNip52CalendarTimeEvent) -> core::result::Result<Self, radroots_event::calendar::CalendarAdmissionError> 165 pub struct radroots_event::calendar::AuthoredCalendar 166 impl radroots_event::calendar::AuthoredCalendar 167 pub fn radroots_event::calendar::AuthoredCalendar::content(&self) -> &str 168 pub fn radroots_event::calendar::AuthoredCalendar::event_references(&self) -> &[radroots_event::calendar::CalendarEventReference] 169 pub fn radroots_event::calendar::AuthoredCalendar::image(&self) -> core::option::Option<&radroots_event::media::AuthoredImage> 170 pub fn radroots_event::calendar::AuthoredCalendar::list_description(&self) -> core::option::Option<&str> 171 pub fn radroots_event::calendar::AuthoredCalendar::new(radroots_event::calendar::CalendarUid, impl core::convert::Into<alloc::string::String>, impl core::convert::Into<alloc::string::String>, alloc::vec::Vec<radroots_event::calendar::CalendarEventReference>) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 172 pub fn radroots_event::calendar::AuthoredCalendar::title(&self) -> &str 173 pub fn radroots_event::calendar::AuthoredCalendar::uid(&self) -> &radroots_event::calendar::CalendarUid 174 pub fn radroots_event::calendar::AuthoredCalendar::with_image(self, radroots_event::media::AuthoredImage) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 175 pub fn radroots_event::calendar::AuthoredCalendar::with_list_description(self, impl core::convert::Into<alloc::string::String>) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 176 pub struct radroots_event::calendar::AuthoredCalendarDateEvent 177 impl radroots_event::calendar::AuthoredCalendarDateEvent 178 pub fn radroots_event::calendar::AuthoredCalendarDateEvent::calendar_requests(&self) -> &[radroots_event::calendar::CalendarRequest] 179 pub fn radroots_event::calendar::AuthoredCalendarDateEvent::categories(&self) -> &[alloc::string::String] 180 pub fn radroots_event::calendar::AuthoredCalendarDateEvent::d_tag(&self) -> &radroots_event::id::DTag 181 pub fn radroots_event::calendar::AuthoredCalendarDateEvent::description(&self) -> core::option::Option<&str> 182 pub fn radroots_event::calendar::AuthoredCalendarDateEvent::end(&self) -> core::option::Option<&radroots_event::calendar::CalendarDate> 183 pub fn radroots_event::calendar::AuthoredCalendarDateEvent::geohash(&self) -> core::option::Option<&str> 184 pub fn radroots_event::calendar::AuthoredCalendarDateEvent::image(&self) -> core::option::Option<&radroots_event::media::AuthoredImage> 185 pub fn radroots_event::calendar::AuthoredCalendarDateEvent::locations(&self) -> &[alloc::string::String] 186 pub fn radroots_event::calendar::AuthoredCalendarDateEvent::new(impl core::convert::AsRef<str>, impl core::convert::Into<alloc::string::String>, radroots_event::calendar::CalendarDate) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 187 pub fn radroots_event::calendar::AuthoredCalendarDateEvent::participants(&self) -> core::option::Option<&alloc::vec::Vec<radroots_event::calendar::CalendarParticipant>> 188 pub fn radroots_event::calendar::AuthoredCalendarDateEvent::references(&self) -> &[radroots_event::calendar::CalendarUri] 189 pub fn radroots_event::calendar::AuthoredCalendarDateEvent::start(&self) -> &radroots_event::calendar::CalendarDate 190 pub fn radroots_event::calendar::AuthoredCalendarDateEvent::summary(&self) -> core::option::Option<&str> 191 pub fn radroots_event::calendar::AuthoredCalendarDateEvent::title(&self) -> &str 192 pub fn radroots_event::calendar::AuthoredCalendarDateEvent::with_calendar_requests(self, alloc::vec::Vec<radroots_event::calendar::CalendarRequest>) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 193 pub fn radroots_event::calendar::AuthoredCalendarDateEvent::with_categories(self, alloc::vec::Vec<alloc::string::String>) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 194 pub fn radroots_event::calendar::AuthoredCalendarDateEvent::with_description(self, impl core::convert::Into<alloc::string::String>) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 195 pub fn radroots_event::calendar::AuthoredCalendarDateEvent::with_end(self, radroots_event::calendar::CalendarDate) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 196 pub fn radroots_event::calendar::AuthoredCalendarDateEvent::with_geohash(self, impl core::convert::Into<alloc::string::String>) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 197 pub fn radroots_event::calendar::AuthoredCalendarDateEvent::with_image(self, radroots_event::media::AuthoredImage) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 198 pub fn radroots_event::calendar::AuthoredCalendarDateEvent::with_locations(self, alloc::vec::Vec<alloc::string::String>) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 199 pub fn radroots_event::calendar::AuthoredCalendarDateEvent::with_participants(self, alloc::vec::Vec<radroots_event::calendar::CalendarParticipant>) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 200 pub fn radroots_event::calendar::AuthoredCalendarDateEvent::with_references(self, alloc::vec::Vec<radroots_event::calendar::CalendarUri>) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 201 pub fn radroots_event::calendar::AuthoredCalendarDateEvent::with_summary(self, impl core::convert::Into<alloc::string::String>) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 202 pub struct radroots_event::calendar::AuthoredCalendarEventRsvp 203 impl radroots_event::calendar::AuthoredCalendarEventRsvp 204 pub fn radroots_event::calendar::AuthoredCalendarEventRsvp::author_hint(&self) -> core::option::Option<&radroots_event::calendar::CalendarEventAuthorReference> 205 pub fn radroots_event::calendar::AuthoredCalendarEventRsvp::effective_free_busy(&self) -> core::option::Option<&radroots_event::calendar::CalendarEventFreeBusy> 206 pub fn radroots_event::calendar::AuthoredCalendarEventRsvp::event_reference(&self) -> &radroots_event::calendar::CalendarEventReference 207 pub fn radroots_event::calendar::AuthoredCalendarEventRsvp::new(radroots_event::calendar::CalendarUid, radroots_event::calendar::CalendarEventReference, radroots_event::calendar::CalendarEventRsvpStatus) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 208 pub fn radroots_event::calendar::AuthoredCalendarEventRsvp::note(&self) -> core::option::Option<&str> 209 pub fn radroots_event::calendar::AuthoredCalendarEventRsvp::observed_free_busy(&self) -> core::option::Option<&radroots_event::calendar::CalendarEventFreeBusy> 210 pub fn radroots_event::calendar::AuthoredCalendarEventRsvp::revision_reference(&self) -> core::option::Option<&radroots_event::calendar::CalendarEventRevisionReference> 211 pub fn radroots_event::calendar::AuthoredCalendarEventRsvp::status(&self) -> &radroots_event::calendar::CalendarEventRsvpStatus 212 pub fn radroots_event::calendar::AuthoredCalendarEventRsvp::uid(&self) -> &radroots_event::calendar::CalendarUid 213 pub fn radroots_event::calendar::AuthoredCalendarEventRsvp::with_author_hint(self, radroots_event::calendar::CalendarEventAuthorReference) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 214 pub fn radroots_event::calendar::AuthoredCalendarEventRsvp::with_free_busy(self, radroots_event::calendar::CalendarEventFreeBusy) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 215 pub fn radroots_event::calendar::AuthoredCalendarEventRsvp::with_note(self, impl core::convert::Into<alloc::string::String>) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 216 pub fn radroots_event::calendar::AuthoredCalendarEventRsvp::with_revision_reference(self, radroots_event::calendar::CalendarEventRevisionReference) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 217 pub struct radroots_event::calendar::AuthoredCalendarTimeEvent 218 impl radroots_event::calendar::AuthoredCalendarTimeEvent 219 pub fn radroots_event::calendar::AuthoredCalendarTimeEvent::calendar_requests(&self) -> &[radroots_event::calendar::CalendarRequest] 220 pub fn radroots_event::calendar::AuthoredCalendarTimeEvent::categories(&self) -> &[alloc::string::String] 221 pub fn radroots_event::calendar::AuthoredCalendarTimeEvent::d_tag(&self) -> &radroots_event::id::DTag 222 pub fn radroots_event::calendar::AuthoredCalendarTimeEvent::description(&self) -> core::option::Option<&str> 223 pub fn radroots_event::calendar::AuthoredCalendarTimeEvent::effective_end_tzid(&self) -> core::option::Option<&radroots_event::calendar::IanaTimeZoneId> 224 pub const fn radroots_event::calendar::AuthoredCalendarTimeEvent::end(&self) -> core::option::Option<u64> 225 pub fn radroots_event::calendar::AuthoredCalendarTimeEvent::end_tzid(&self) -> core::option::Option<&radroots_event::calendar::IanaTimeZoneId> 226 pub fn radroots_event::calendar::AuthoredCalendarTimeEvent::geohash(&self) -> core::option::Option<&str> 227 pub fn radroots_event::calendar::AuthoredCalendarTimeEvent::image(&self) -> core::option::Option<&radroots_event::media::AuthoredImage> 228 pub fn radroots_event::calendar::AuthoredCalendarTimeEvent::locations(&self) -> &[alloc::string::String] 229 pub fn radroots_event::calendar::AuthoredCalendarTimeEvent::new(impl core::convert::AsRef<str>, impl core::convert::Into<alloc::string::String>, u64) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 230 pub fn radroots_event::calendar::AuthoredCalendarTimeEvent::participants(&self) -> core::option::Option<&alloc::vec::Vec<radroots_event::calendar::CalendarParticipant>> 231 pub fn radroots_event::calendar::AuthoredCalendarTimeEvent::references(&self) -> &[radroots_event::calendar::CalendarUri] 232 pub const fn radroots_event::calendar::AuthoredCalendarTimeEvent::start(&self) -> u64 233 pub fn radroots_event::calendar::AuthoredCalendarTimeEvent::start_tzid(&self) -> core::option::Option<&radroots_event::calendar::IanaTimeZoneId> 234 pub fn radroots_event::calendar::AuthoredCalendarTimeEvent::summary(&self) -> core::option::Option<&str> 235 pub fn radroots_event::calendar::AuthoredCalendarTimeEvent::title(&self) -> &str 236 pub fn radroots_event::calendar::AuthoredCalendarTimeEvent::with_calendar_requests(self, alloc::vec::Vec<radroots_event::calendar::CalendarRequest>) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 237 pub fn radroots_event::calendar::AuthoredCalendarTimeEvent::with_categories(self, alloc::vec::Vec<alloc::string::String>) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 238 pub fn radroots_event::calendar::AuthoredCalendarTimeEvent::with_description(self, impl core::convert::Into<alloc::string::String>) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 239 pub fn radroots_event::calendar::AuthoredCalendarTimeEvent::with_end(self, u64) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 240 pub fn radroots_event::calendar::AuthoredCalendarTimeEvent::with_end_tzid(self, impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 241 pub fn radroots_event::calendar::AuthoredCalendarTimeEvent::with_geohash(self, impl core::convert::Into<alloc::string::String>) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 242 pub fn radroots_event::calendar::AuthoredCalendarTimeEvent::with_image(self, radroots_event::media::AuthoredImage) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 243 pub fn radroots_event::calendar::AuthoredCalendarTimeEvent::with_locations(self, alloc::vec::Vec<alloc::string::String>) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 244 pub fn radroots_event::calendar::AuthoredCalendarTimeEvent::with_participants(self, alloc::vec::Vec<radroots_event::calendar::CalendarParticipant>) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 245 pub fn radroots_event::calendar::AuthoredCalendarTimeEvent::with_references(self, alloc::vec::Vec<radroots_event::calendar::CalendarUri>) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 246 pub fn radroots_event::calendar::AuthoredCalendarTimeEvent::with_start_tzid(self, impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 247 pub fn radroots_event::calendar::AuthoredCalendarTimeEvent::with_summary(self, impl core::convert::Into<alloc::string::String>) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 248 pub struct radroots_event::calendar::CalendarDate(_) 249 impl radroots_event::calendar::CalendarDate 250 pub fn radroots_event::calendar::CalendarDate::as_str(&self) -> &str 251 pub fn radroots_event::calendar::CalendarDate::parse(&str) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 252 impl core::convert::AsRef<str> for radroots_event::calendar::CalendarDate 253 pub fn radroots_event::calendar::CalendarDate::as_ref(&self) -> &str 254 impl core::fmt::Display for radroots_event::calendar::CalendarDate 255 pub fn radroots_event::calendar::CalendarDate::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 256 impl core::str::traits::FromStr for radroots_event::calendar::CalendarDate 257 pub type radroots_event::calendar::CalendarDate::Err = radroots_event::calendar::CalendarEventError 258 pub fn radroots_event::calendar::CalendarDate::from_str(&str) -> core::result::Result<Self, Self::Err> 259 impl serde_core::ser::Serialize for radroots_event::calendar::CalendarDate 260 pub fn radroots_event::calendar::CalendarDate::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 261 impl<'de> serde_core::de::Deserialize<'de> for radroots_event::calendar::CalendarDate 262 pub fn radroots_event::calendar::CalendarDate::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 263 pub struct radroots_event::calendar::CalendarEventAuthorReference 264 impl radroots_event::calendar::CalendarEventAuthorReference 265 pub fn radroots_event::calendar::CalendarEventAuthorReference::is_canonical(&self) -> bool 266 pub fn radroots_event::calendar::CalendarEventAuthorReference::parse(impl core::convert::AsRef<str>, core::option::Option<&str>) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 267 pub fn radroots_event::calendar::CalendarEventAuthorReference::pubkey(&self) -> &radroots_identity::key::PublicKey 268 pub fn radroots_event::calendar::CalendarEventAuthorReference::raw_pubkey(&self) -> &str 269 pub fn radroots_event::calendar::CalendarEventAuthorReference::relay(&self) -> core::option::Option<&str> 270 pub struct radroots_event::calendar::CalendarEventReference 271 impl radroots_event::calendar::CalendarEventReference 272 pub fn radroots_event::calendar::CalendarEventReference::author(&self) -> &radroots_identity::key::PublicKey 273 pub fn radroots_event::calendar::CalendarEventReference::coordinate(&self) -> &radroots_event::id::AddressableCoordinate 274 pub fn radroots_event::calendar::CalendarEventReference::d_tag(&self) -> &radroots_event::id::DTag 275 pub fn radroots_event::calendar::CalendarEventReference::is_canonical(&self) -> bool 276 pub const fn radroots_event::calendar::CalendarEventReference::kind(&self) -> u32 277 pub fn radroots_event::calendar::CalendarEventReference::parse(impl core::convert::AsRef<str>, core::option::Option<&str>) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 278 pub fn radroots_event::calendar::CalendarEventReference::relay(&self) -> core::option::Option<&str> 279 pub struct radroots_event::calendar::CalendarEventRevisionReference 280 impl radroots_event::calendar::CalendarEventRevisionReference 281 pub fn radroots_event::calendar::CalendarEventRevisionReference::event_id(&self) -> &radroots_event::id::EventId 282 pub fn radroots_event::calendar::CalendarEventRevisionReference::is_canonical(&self) -> bool 283 pub fn radroots_event::calendar::CalendarEventRevisionReference::parse(impl core::convert::AsRef<str>, core::option::Option<&str>) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 284 pub fn radroots_event::calendar::CalendarEventRevisionReference::raw_event_id(&self) -> &str 285 pub fn radroots_event::calendar::CalendarEventRevisionReference::relay(&self) -> core::option::Option<&str> 286 pub struct radroots_event::calendar::CalendarParticipant 287 pub radroots_event::calendar::CalendarParticipant::pubkey: alloc::string::String 288 pub radroots_event::calendar::CalendarParticipant::relay: core::option::Option<alloc::string::String> 289 pub radroots_event::calendar::CalendarParticipant::role: core::option::Option<alloc::string::String> 290 pub struct radroots_event::calendar::CalendarRequest 291 impl radroots_event::calendar::CalendarRequest 292 pub fn radroots_event::calendar::CalendarRequest::calendar(&self) -> &radroots_event::id::AddressableCoordinate 293 pub fn radroots_event::calendar::CalendarRequest::is_canonical(&self) -> bool 294 pub fn radroots_event::calendar::CalendarRequest::new(impl core::convert::AsRef<str>, core::option::Option<&str>) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 295 pub fn radroots_event::calendar::CalendarRequest::relay(&self) -> core::option::Option<&str> 296 pub struct radroots_event::calendar::CalendarUid(_) 297 impl radroots_event::calendar::CalendarUid 298 pub fn radroots_event::calendar::CalendarUid::as_str(&self) -> &str 299 pub fn radroots_event::calendar::CalendarUid::into_string(self) -> alloc::string::String 300 pub fn radroots_event::calendar::CalendarUid::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 301 impl core::convert::AsRef<str> for radroots_event::calendar::CalendarUid 302 pub fn radroots_event::calendar::CalendarUid::as_ref(&self) -> &str 303 impl core::convert::TryFrom<&str> for radroots_event::calendar::CalendarUid 304 pub type radroots_event::calendar::CalendarUid::Error = radroots_event::calendar::CalendarEventError 305 pub fn radroots_event::calendar::CalendarUid::try_from(&str) -> core::result::Result<Self, Self::Error> 306 impl core::convert::TryFrom<alloc::string::String> for radroots_event::calendar::CalendarUid 307 pub type radroots_event::calendar::CalendarUid::Error = radroots_event::calendar::CalendarEventError 308 pub fn radroots_event::calendar::CalendarUid::try_from(alloc::string::String) -> core::result::Result<Self, Self::Error> 309 impl core::fmt::Display for radroots_event::calendar::CalendarUid 310 pub fn radroots_event::calendar::CalendarUid::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 311 impl core::str::traits::FromStr for radroots_event::calendar::CalendarUid 312 pub type radroots_event::calendar::CalendarUid::Err = radroots_event::calendar::CalendarEventError 313 pub fn radroots_event::calendar::CalendarUid::from_str(&str) -> core::result::Result<Self, Self::Err> 314 impl serde_core::ser::Serialize for radroots_event::calendar::CalendarUid 315 pub fn radroots_event::calendar::CalendarUid::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 316 pub struct radroots_event::calendar::CalendarUri(_) 317 impl radroots_event::calendar::CalendarUri 318 pub fn radroots_event::calendar::CalendarUri::as_str(&self) -> &str 319 pub fn radroots_event::calendar::CalendarUri::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 320 impl core::convert::AsRef<str> for radroots_event::calendar::CalendarUri 321 pub fn radroots_event::calendar::CalendarUri::as_ref(&self) -> &str 322 impl core::fmt::Display for radroots_event::calendar::CalendarUri 323 pub fn radroots_event::calendar::CalendarUri::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 324 impl core::str::traits::FromStr for radroots_event::calendar::CalendarUri 325 pub type radroots_event::calendar::CalendarUri::Err = radroots_event::calendar::CalendarEventError 326 pub fn radroots_event::calendar::CalendarUri::from_str(&str) -> core::result::Result<Self, Self::Err> 327 impl serde_core::ser::Serialize for radroots_event::calendar::CalendarUri 328 pub fn radroots_event::calendar::CalendarUri::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 329 impl<'de> serde_core::de::Deserialize<'de> for radroots_event::calendar::CalendarUri 330 pub fn radroots_event::calendar::CalendarUri::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 331 pub struct radroots_event::calendar::IanaTimeZoneId(_) 332 impl radroots_event::calendar::IanaTimeZoneId 333 pub fn radroots_event::calendar::IanaTimeZoneId::as_str(&self) -> &str 334 pub fn radroots_event::calendar::IanaTimeZoneId::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 335 impl core::convert::AsRef<str> for radroots_event::calendar::IanaTimeZoneId 336 pub fn radroots_event::calendar::IanaTimeZoneId::as_ref(&self) -> &str 337 impl core::fmt::Display for radroots_event::calendar::IanaTimeZoneId 338 pub fn radroots_event::calendar::IanaTimeZoneId::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 339 impl core::str::traits::FromStr for radroots_event::calendar::IanaTimeZoneId 340 pub type radroots_event::calendar::IanaTimeZoneId::Err = radroots_event::calendar::CalendarEventError 341 pub fn radroots_event::calendar::IanaTimeZoneId::from_str(&str) -> core::result::Result<Self, Self::Err> 342 impl serde_core::ser::Serialize for radroots_event::calendar::IanaTimeZoneId 343 pub fn radroots_event::calendar::IanaTimeZoneId::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 344 impl<'de> serde_core::de::Deserialize<'de> for radroots_event::calendar::IanaTimeZoneId 345 pub fn radroots_event::calendar::IanaTimeZoneId::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 346 pub struct radroots_event::calendar::ObservedUtcDay 347 impl radroots_event::calendar::ObservedUtcDay 348 pub const fn radroots_event::calendar::ObservedUtcDay::index(&self) -> u64 349 pub fn radroots_event::calendar::ObservedUtcDay::is_canonical(&self) -> bool 350 pub fn radroots_event::calendar::ObservedUtcDay::parse(impl core::convert::Into<alloc::string::String>) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 351 pub fn radroots_event::calendar::ObservedUtcDay::wire_value(&self) -> &str 352 pub struct radroots_event::calendar::ParsedNip52Calendar 353 impl radroots_event::calendar::ParsedNip52Calendar 354 pub fn radroots_event::calendar::ParsedNip52Calendar::content(&self) -> &str 355 pub fn radroots_event::calendar::ParsedNip52Calendar::d_tag(&self) -> &str 356 pub fn radroots_event::calendar::ParsedNip52Calendar::event_references(&self) -> &[radroots_event::calendar::CalendarEventReference] 357 pub fn radroots_event::calendar::ParsedNip52Calendar::image(&self) -> core::option::Option<&radroots_event::calendar::CalendarUri> 358 pub fn radroots_event::calendar::ParsedNip52Calendar::list_description(&self) -> core::option::Option<&str> 359 pub fn radroots_event::calendar::ParsedNip52Calendar::title(&self) -> &str 360 pub fn radroots_event::calendar::ParsedNip52Calendar::try_new(radroots_event::calendar::ParsedNip52CalendarParts) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 361 pub struct radroots_event::calendar::ParsedNip52CalendarCommon 362 impl radroots_event::calendar::ParsedNip52CalendarCommon 363 pub fn radroots_event::calendar::ParsedNip52CalendarCommon::calendar_requests(&self) -> &[radroots_event::calendar::CalendarRequest] 364 pub fn radroots_event::calendar::ParsedNip52CalendarCommon::categories(&self) -> &[alloc::string::String] 365 pub fn radroots_event::calendar::ParsedNip52CalendarCommon::d_tag(&self) -> &str 366 pub fn radroots_event::calendar::ParsedNip52CalendarCommon::description(&self) -> core::option::Option<&str> 367 pub fn radroots_event::calendar::ParsedNip52CalendarCommon::geohash(&self) -> core::option::Option<&str> 368 pub fn radroots_event::calendar::ParsedNip52CalendarCommon::image(&self) -> core::option::Option<&radroots_event::calendar::CalendarUri> 369 pub fn radroots_event::calendar::ParsedNip52CalendarCommon::legacy_name(&self) -> core::option::Option<&str> 370 pub fn radroots_event::calendar::ParsedNip52CalendarCommon::locations(&self) -> &[alloc::string::String] 371 pub fn radroots_event::calendar::ParsedNip52CalendarCommon::participants(&self) -> &[radroots_event::calendar::CalendarParticipant] 372 pub fn radroots_event::calendar::ParsedNip52CalendarCommon::references(&self) -> &[radroots_event::calendar::CalendarUri] 373 pub fn radroots_event::calendar::ParsedNip52CalendarCommon::summary(&self) -> core::option::Option<&str> 374 pub fn radroots_event::calendar::ParsedNip52CalendarCommon::title(&self) -> &str 375 pub fn radroots_event::calendar::ParsedNip52CalendarCommon::try_new(radroots_event::calendar::ParsedNip52CalendarCommonParts) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 376 pub struct radroots_event::calendar::ParsedNip52CalendarCommonParts 377 pub radroots_event::calendar::ParsedNip52CalendarCommonParts::calendar_requests: alloc::vec::Vec<radroots_event::calendar::CalendarRequest> 378 pub radroots_event::calendar::ParsedNip52CalendarCommonParts::categories: alloc::vec::Vec<alloc::string::String> 379 pub radroots_event::calendar::ParsedNip52CalendarCommonParts::d_tag: alloc::string::String 380 pub radroots_event::calendar::ParsedNip52CalendarCommonParts::description: core::option::Option<alloc::string::String> 381 pub radroots_event::calendar::ParsedNip52CalendarCommonParts::geohash: core::option::Option<alloc::string::String> 382 pub radroots_event::calendar::ParsedNip52CalendarCommonParts::image: core::option::Option<radroots_event::calendar::CalendarUri> 383 pub radroots_event::calendar::ParsedNip52CalendarCommonParts::legacy_name: core::option::Option<alloc::string::String> 384 pub radroots_event::calendar::ParsedNip52CalendarCommonParts::locations: alloc::vec::Vec<alloc::string::String> 385 pub radroots_event::calendar::ParsedNip52CalendarCommonParts::participants: alloc::vec::Vec<radroots_event::calendar::CalendarParticipant> 386 pub radroots_event::calendar::ParsedNip52CalendarCommonParts::references: alloc::vec::Vec<radroots_event::calendar::CalendarUri> 387 pub radroots_event::calendar::ParsedNip52CalendarCommonParts::summary: core::option::Option<alloc::string::String> 388 pub radroots_event::calendar::ParsedNip52CalendarCommonParts::title: alloc::string::String 389 pub struct radroots_event::calendar::ParsedNip52CalendarDateEvent 390 impl radroots_event::calendar::ParsedNip52CalendarDateEvent 391 pub fn radroots_event::calendar::ParsedNip52CalendarDateEvent::common(&self) -> &radroots_event::calendar::ParsedNip52CalendarCommon 392 pub fn radroots_event::calendar::ParsedNip52CalendarDateEvent::end(&self) -> core::option::Option<&radroots_event::calendar::CalendarDate> 393 pub fn radroots_event::calendar::ParsedNip52CalendarDateEvent::extension_day_tags(&self) -> &[alloc::vec::Vec<alloc::string::String>] 394 pub fn radroots_event::calendar::ParsedNip52CalendarDateEvent::start(&self) -> &radroots_event::calendar::CalendarDate 395 pub fn radroots_event::calendar::ParsedNip52CalendarDateEvent::try_new(radroots_event::calendar::ParsedNip52CalendarCommon, radroots_event::calendar::CalendarDate, core::option::Option<radroots_event::calendar::CalendarDate>, alloc::vec::Vec<alloc::vec::Vec<alloc::string::String>>) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 396 pub struct radroots_event::calendar::ParsedNip52CalendarEventRsvp 397 impl radroots_event::calendar::ParsedNip52CalendarEventRsvp 398 pub fn radroots_event::calendar::ParsedNip52CalendarEventRsvp::author_hint(&self) -> core::option::Option<&radroots_event::calendar::CalendarEventAuthorReference> 399 pub fn radroots_event::calendar::ParsedNip52CalendarEventRsvp::d_tag(&self) -> &str 400 pub fn radroots_event::calendar::ParsedNip52CalendarEventRsvp::effective_free_busy(&self) -> core::option::Option<&radroots_event::calendar::CalendarEventFreeBusy> 401 pub fn radroots_event::calendar::ParsedNip52CalendarEventRsvp::event_reference(&self) -> &radroots_event::calendar::CalendarEventReference 402 pub fn radroots_event::calendar::ParsedNip52CalendarEventRsvp::note(&self) -> core::option::Option<&str> 403 pub fn radroots_event::calendar::ParsedNip52CalendarEventRsvp::observed_free_busy(&self) -> core::option::Option<&radroots_event::calendar::CalendarEventFreeBusy> 404 pub fn radroots_event::calendar::ParsedNip52CalendarEventRsvp::revision_reference(&self) -> core::option::Option<&radroots_event::calendar::CalendarEventRevisionReference> 405 pub fn radroots_event::calendar::ParsedNip52CalendarEventRsvp::status(&self) -> &radroots_event::calendar::CalendarEventRsvpStatus 406 pub fn radroots_event::calendar::ParsedNip52CalendarEventRsvp::try_new(radroots_event::calendar::ParsedNip52CalendarEventRsvpParts) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 407 pub struct radroots_event::calendar::ParsedNip52CalendarEventRsvpParts 408 pub radroots_event::calendar::ParsedNip52CalendarEventRsvpParts::author_hint: core::option::Option<radroots_event::calendar::CalendarEventAuthorReference> 409 pub radroots_event::calendar::ParsedNip52CalendarEventRsvpParts::d_tag: alloc::string::String 410 pub radroots_event::calendar::ParsedNip52CalendarEventRsvpParts::event_reference: radroots_event::calendar::CalendarEventReference 411 pub radroots_event::calendar::ParsedNip52CalendarEventRsvpParts::note: core::option::Option<alloc::string::String> 412 pub radroots_event::calendar::ParsedNip52CalendarEventRsvpParts::observed_free_busy: core::option::Option<radroots_event::calendar::CalendarEventFreeBusy> 413 pub radroots_event::calendar::ParsedNip52CalendarEventRsvpParts::revision_reference: core::option::Option<radroots_event::calendar::CalendarEventRevisionReference> 414 pub radroots_event::calendar::ParsedNip52CalendarEventRsvpParts::status: radroots_event::calendar::CalendarEventRsvpStatus 415 pub struct radroots_event::calendar::ParsedNip52CalendarParts 416 pub radroots_event::calendar::ParsedNip52CalendarParts::content: alloc::string::String 417 pub radroots_event::calendar::ParsedNip52CalendarParts::d_tag: alloc::string::String 418 pub radroots_event::calendar::ParsedNip52CalendarParts::event_references: alloc::vec::Vec<radroots_event::calendar::CalendarEventReference> 419 pub radroots_event::calendar::ParsedNip52CalendarParts::image: core::option::Option<radroots_event::calendar::CalendarUri> 420 pub radroots_event::calendar::ParsedNip52CalendarParts::list_description: core::option::Option<alloc::string::String> 421 pub radroots_event::calendar::ParsedNip52CalendarParts::title: alloc::string::String 422 pub struct radroots_event::calendar::ParsedNip52CalendarTimeEvent 423 impl radroots_event::calendar::ParsedNip52CalendarTimeEvent 424 pub fn radroots_event::calendar::ParsedNip52CalendarTimeEvent::common(&self) -> &radroots_event::calendar::ParsedNip52CalendarCommon 425 pub fn radroots_event::calendar::ParsedNip52CalendarTimeEvent::effective_end_tzid(&self) -> core::option::Option<&radroots_event::calendar::IanaTimeZoneId> 426 pub const fn radroots_event::calendar::ParsedNip52CalendarTimeEvent::end(&self) -> core::option::Option<u64> 427 pub fn radroots_event::calendar::ParsedNip52CalendarTimeEvent::end_tzid(&self) -> core::option::Option<&radroots_event::calendar::IanaTimeZoneId> 428 pub fn radroots_event::calendar::ParsedNip52CalendarTimeEvent::end_wire(&self) -> core::option::Option<&str> 429 pub fn radroots_event::calendar::ParsedNip52CalendarTimeEvent::observed_day_indices(&self) -> &[radroots_event::calendar::ObservedUtcDay] 430 pub const fn radroots_event::calendar::ParsedNip52CalendarTimeEvent::start(&self) -> u64 431 pub fn radroots_event::calendar::ParsedNip52CalendarTimeEvent::start_tzid(&self) -> core::option::Option<&radroots_event::calendar::IanaTimeZoneId> 432 pub fn radroots_event::calendar::ParsedNip52CalendarTimeEvent::start_wire(&self) -> &str 433 pub fn radroots_event::calendar::ParsedNip52CalendarTimeEvent::try_new(radroots_event::calendar::ParsedNip52CalendarCommon, alloc::string::String, u64, core::option::Option<alloc::string::String>, core::option::Option<u64>, alloc::vec::Vec<radroots_event::calendar::ObservedUtcDay>, core::option::Option<radroots_event::calendar::IanaTimeZoneId>, core::option::Option<radroots_event::calendar::IanaTimeZoneId>) -> core::result::Result<Self, radroots_event::calendar::CalendarEventError> 434 pub const radroots_event::calendar::RADROOTS_CALENDAR_MAX_COVERED_UTC_DAYS: u64 435 pub const radroots_event::calendar::RADROOTS_CALENDAR_MAX_PARTICIPANTS: usize 436 pub const radroots_event::calendar::RADROOTS_CALENDAR_SECONDS_PER_DAY: u64 437 pub fn radroots_event::calendar::calendar_geohash_is_valid(&str) -> bool 438 pub fn radroots_event::calendar::calendar_relay_url_is_valid(&str) -> bool 439 pub fn radroots_event::calendar::calendar_tag_text_is_valid(&str) -> bool 440 pub fn radroots_event::calendar::canonical_calendar_geohash_is_valid(&str) -> bool 441 pub fn radroots_event::calendar::canonical_calendar_tag_text_is_valid(&str) -> bool 442 pub fn radroots_event::calendar::covered_utc_days(u64, core::option::Option<u64>) -> core::result::Result<core::ops::range::RangeInclusive<u64>, radroots_event::calendar::CalendarEventError> 443 pub mod radroots_event::contract 444 pub mod radroots_event::contract::registry_v8 445 pub const radroots_event::contract::registry_v8::PROFILE_METADATA_EDIT_CONTRACT_ID: &str 446 pub const fn radroots_event::contract::registry_v8::all_event_contracts_registry_v8() -> &'static [super::EventContract] 447 pub fn radroots_event::contract::registry_v8::event_contract_registry_v8(&str) -> core::option::Option<&'static super::EventContract> 448 pub enum radroots_event::contract::ContractIdentityError 449 pub radroots_event::contract::ContractIdentityError::ContractIdMissing 450 pub radroots_event::contract::ContractIdentityError::ContractIdNamespace 451 pub radroots_event::contract::ContractIdentityError::ContractIdSyntax 452 pub radroots_event::contract::ContractIdentityError::ContractIdTooLong 453 pub radroots_event::contract::ContractIdentityError::ContractIdTooLong::actual: usize 454 pub radroots_event::contract::ContractIdentityError::ContractIdTooLong::max: usize 455 pub radroots_event::contract::ContractIdentityError::RegistryVersionZero 456 pub radroots_event::contract::ContractIdentityError::UnknownContract 457 pub radroots_event::contract::ContractIdentityError::UnknownContract::contract_id: alloc::string::String 458 pub radroots_event::contract::ContractIdentityError::UnsupportedRegistryVersion 459 pub radroots_event::contract::ContractIdentityError::UnsupportedRegistryVersion::actual: u32 460 impl radroots_event::contract::ContractIdentityError 461 pub const fn radroots_event::contract::ContractIdentityError::code(&self) -> &'static str 462 impl core::error::Error for radroots_event::contract::ContractIdentityError 463 impl core::fmt::Display for radroots_event::contract::ContractIdentityError 464 pub fn radroots_event::contract::ContractIdentityError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 465 pub struct radroots_event::contract::ContractId(_) 466 impl radroots_event::contract::ContractId 467 pub fn radroots_event::contract::ContractId::as_str(&self) -> &str 468 pub fn radroots_event::contract::ContractId::into_string(self) -> alloc::string::String 469 pub fn radroots_event::contract::ContractId::parse(impl core::convert::Into<alloc::string::String>) -> core::result::Result<Self, radroots_event::contract::ContractIdentityError> 470 impl core::fmt::Display for radroots_event::contract::ContractId 471 pub fn radroots_event::contract::ContractId::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 472 impl serde_core::ser::Serialize for radroots_event::contract::ContractId 473 pub fn radroots_event::contract::ContractId::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 474 impl<'de> serde_core::de::Deserialize<'de> for radroots_event::contract::ContractId 475 pub fn radroots_event::contract::ContractId::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 476 pub struct radroots_event::contract::ContractKey 477 impl radroots_event::contract::ContractKey 478 pub fn radroots_event::contract::ContractKey::contract(&self) -> &'static EventContract 479 pub const fn radroots_event::contract::ContractKey::contract_id(&self) -> &radroots_event::contract::ContractId 480 pub fn radroots_event::contract::ContractKey::current(impl core::convert::Into<alloc::string::String>) -> core::result::Result<Self, radroots_event::contract::ContractIdentityError> 481 pub fn radroots_event::contract::ContractKey::new(radroots_event::contract::RegistryVersion, radroots_event::contract::ContractId) -> core::result::Result<Self, radroots_event::contract::ContractIdentityError> 482 pub const fn radroots_event::contract::ContractKey::registry_version(&self) -> radroots_event::contract::RegistryVersion 483 impl serde_core::ser::Serialize for radroots_event::contract::ContractKey 484 pub fn radroots_event::contract::ContractKey::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 485 impl<'de> serde_core::de::Deserialize<'de> for radroots_event::contract::ContractKey 486 pub fn radroots_event::contract::ContractKey::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 487 pub struct radroots_event::contract::RegistryVersion(_) 488 impl radroots_event::contract::RegistryVersion 489 pub const radroots_event::contract::RegistryVersion::CURRENT: Self 490 pub const radroots_event::contract::RegistryVersion::V7: Self 491 pub const radroots_event::contract::RegistryVersion::V8: Self 492 pub const fn radroots_event::contract::RegistryVersion::get(self) -> u32 493 pub const fn radroots_event::contract::RegistryVersion::new(u32) -> core::result::Result<Self, radroots_event::contract::ContractIdentityError> 494 impl core::fmt::Display for radroots_event::contract::RegistryVersion 495 pub fn radroots_event::contract::RegistryVersion::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 496 impl serde_core::ser::Serialize for radroots_event::contract::RegistryVersion 497 pub fn radroots_event::contract::RegistryVersion::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 498 impl<'de> serde_core::de::Deserialize<'de> for radroots_event::contract::RegistryVersion 499 pub fn radroots_event::contract::RegistryVersion::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 500 pub const radroots_event::contract::CONTRACT_ID_MAX_BYTES: usize 501 pub const radroots_event::contract::VERSION: &str 502 pub mod radroots_event::draft 503 pub enum radroots_event::draft::DraftError 504 pub radroots_event::draft::DraftError::CanonicalEventId(crate::wire::v1::CanonicalEventIdError) 505 pub radroots_event::draft::DraftError::ContractKindMismatch 506 pub radroots_event::draft::DraftError::ContractKindMismatch::actual_kind: u32 507 pub radroots_event::draft::DraftError::ContractKindMismatch::contract_id: alloc::string::String 508 pub radroots_event::draft::DraftError::ContractKindMismatch::expected_kind: u32 509 pub radroots_event::draft::DraftError::ContractNotDraftAuthorable 510 pub radroots_event::draft::DraftError::ContractNotDraftAuthorable::contract_id: alloc::string::String 511 pub radroots_event::draft::DraftError::ContractRegistryVersionMismatch 512 pub radroots_event::draft::DraftError::ContractRegistryVersionMismatch::actual: u32 513 pub radroots_event::draft::DraftError::ContractRegistryVersionMismatch::expected: u32 514 pub radroots_event::draft::DraftError::ContractShape 515 pub radroots_event::draft::DraftError::ContractShape::contract_id: alloc::string::String 516 pub radroots_event::draft::DraftError::ContractShape::error: crate::contract::registry_v7::ContractValidationError 517 pub radroots_event::draft::DraftError::DraftExpectedEventIdMismatch 518 pub radroots_event::draft::DraftError::DraftExpectedEventIdMismatch::actual_event_id: alloc::string::String 519 pub radroots_event::draft::DraftError::DraftExpectedEventIdMismatch::expected_event_id: alloc::string::String 520 pub radroots_event::draft::DraftError::Envelope(radroots_event::envelope::EventEnvelopeError) 521 pub radroots_event::draft::DraftError::IdParse(radroots_event::id::ParseError) 522 pub radroots_event::draft::DraftError::SignedEvent(radroots_event::draft::SignedEventError) 523 pub radroots_event::draft::DraftError::UnknownContract(alloc::string::String) 524 impl core::convert::From<radroots_event::draft::SignedEventError> for radroots_event::draft::DraftError 525 pub fn radroots_event::draft::DraftError::from(radroots_event::draft::SignedEventError) -> Self 526 impl core::convert::From<radroots_event::envelope::EventEnvelopeError> for radroots_event::draft::DraftError 527 pub fn radroots_event::draft::DraftError::from(radroots_event::envelope::EventEnvelopeError) -> Self 528 impl core::convert::From<radroots_event::id::ParseError> for radroots_event::draft::DraftError 529 pub fn radroots_event::draft::DraftError::from(radroots_event::id::ParseError) -> Self 530 impl core::error::Error for radroots_event::draft::DraftError 531 impl core::fmt::Display for radroots_event::draft::DraftError 532 pub fn radroots_event::draft::DraftError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 533 pub enum radroots_event::draft::SignedEventError 534 pub radroots_event::draft::SignedEventError::Envelope(radroots_event::envelope::EventEnvelopeError) 535 pub radroots_event::draft::SignedEventError::RawJson(crate::wire::v1::EventWireError) 536 pub radroots_event::draft::SignedEventError::RawJsonMismatch 537 pub radroots_event::draft::SignedEventError::Wire(crate::wire::v1::EventWireError) 538 impl core::convert::From<radroots_event::draft::SignedEventError> for radroots_event::draft::DraftError 539 pub fn radroots_event::draft::DraftError::from(radroots_event::draft::SignedEventError) -> Self 540 impl core::convert::From<radroots_event::envelope::EventEnvelopeError> for radroots_event::draft::SignedEventError 541 pub fn radroots_event::draft::SignedEventError::from(radroots_event::envelope::EventEnvelopeError) -> Self 542 impl core::error::Error for radroots_event::draft::SignedEventError 543 impl core::fmt::Display for radroots_event::draft::SignedEventError 544 pub fn radroots_event::draft::SignedEventError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 545 pub struct radroots_event::draft::SignedEvent 546 impl radroots_event::draft::SignedEvent 547 pub fn radroots_event::draft::SignedEvent::content(&self) -> &str 548 pub fn radroots_event::draft::SignedEvent::created_at(&self) -> u64 549 pub fn radroots_event::draft::SignedEvent::envelope(&self) -> &radroots_event::envelope::EventEnvelope 550 pub fn radroots_event::draft::SignedEvent::from_wire_verified_id(Nip01EventWire, impl core::convert::Into<alloc::string::String>) -> core::result::Result<Self, radroots_event::draft::SignedEventError> 551 pub fn radroots_event::draft::SignedEvent::from_wire_verified_id_with_limits(Nip01EventWire, impl core::convert::Into<alloc::string::String>, crate::wire::EventWireLimits) -> core::result::Result<Self, radroots_event::draft::SignedEventError> 552 pub fn radroots_event::draft::SignedEvent::id(&self) -> &radroots_event::id::EventId 553 pub fn radroots_event::draft::SignedEvent::id_hex(&self) -> alloc::string::String 554 pub fn radroots_event::draft::SignedEvent::id_str(&self) -> &str 555 pub fn radroots_event::draft::SignedEvent::kind(&self) -> u32 556 pub fn radroots_event::draft::SignedEvent::new(radroots_event::draft::SignedEventParts) -> core::result::Result<Self, radroots_event::draft::SignedEventError> 557 pub fn radroots_event::draft::SignedEvent::pubkey(&self) -> &radroots_identity::key::PublicKey 558 pub fn radroots_event::draft::SignedEvent::raw_json(&self) -> &str 559 pub fn radroots_event::draft::SignedEvent::sig(&self) -> &radroots_event::id::EventSignature 560 pub fn radroots_event::draft::SignedEvent::sig_str(&self) -> &str 561 pub fn radroots_event::draft::SignedEvent::signature_hex(&self) -> alloc::string::String 562 pub fn radroots_event::draft::SignedEvent::tags_as_vec(&self) -> alloc::vec::Vec<alloc::vec::Vec<alloc::string::String>> 563 pub fn radroots_event::draft::SignedEvent::wire(&self) -> &Nip01EventWire 564 impl serde_core::ser::Serialize for radroots_event::draft::SignedEvent 565 pub fn radroots_event::draft::SignedEvent::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 566 impl<'de> serde_core::de::Deserialize<'de> for radroots_event::draft::SignedEvent 567 pub fn radroots_event::draft::SignedEvent::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 568 pub struct radroots_event::draft::SignedEventParts 569 pub radroots_event::draft::SignedEventParts::content: alloc::string::String 570 pub radroots_event::draft::SignedEventParts::created_at: u64 571 pub radroots_event::draft::SignedEventParts::id: alloc::string::String 572 pub radroots_event::draft::SignedEventParts::kind: u32 573 pub radroots_event::draft::SignedEventParts::pubkey: alloc::string::String 574 pub radroots_event::draft::SignedEventParts::raw_json: alloc::string::String 575 pub radroots_event::draft::SignedEventParts::sig: alloc::string::String 576 pub radroots_event::draft::SignedEventParts::tags: alloc::vec::Vec<alloc::vec::Vec<alloc::string::String>> 577 pub fn radroots_event::draft::compute_nip01_event_id(&str, u64, u32, &[alloc::vec::Vec<alloc::string::String>], &str) -> core::result::Result<radroots_event::id::EventId, radroots_event::draft::DraftError> 578 pub fn radroots_event::draft::nip01_event_id_preimage(&str, u64, u32, &[alloc::vec::Vec<alloc::string::String>], &str) -> core::result::Result<alloc::string::String, radroots_event::draft::DraftError> 579 pub mod radroots_event::envelope 580 pub mod radroots_event::envelope::event_head 581 pub mod radroots_event::envelope::kind 582 pub const radroots_event::envelope::kind::CLASSIFIED_LISTING_EVENT_KINDS: [u32; 1] 583 pub const radroots_event::envelope::kind::COMMERCIAL_EVENT_KINDS: [u32; 6] 584 pub const radroots_event::envelope::kind::EVENTS_CANDIDATE_KINDS: [u32; 4] 585 pub const radroots_event::envelope::kind::HOME_FEED_CANDIDATE_KINDS: [u32; 9] 586 pub const radroots_event::envelope::kind::KIND_ACCOUNT_CLAIM: u32 587 pub const radroots_event::envelope::kind::KIND_APPLICATION_HANDLER: u32 588 pub const radroots_event::envelope::kind::KIND_APP_CUSTOM_DATA: u32 589 pub const radroots_event::envelope::kind::KIND_APP_DATA: u32 590 pub const radroots_event::envelope::kind::KIND_ARTICLE: u32 591 pub const radroots_event::envelope::kind::KIND_CALENDAR: u32 592 pub const radroots_event::envelope::kind::KIND_CALENDAR_DATE_EVENT: u32 593 pub const radroots_event::envelope::kind::KIND_CALENDAR_EVENT_RSVP: u32 594 pub const radroots_event::envelope::kind::KIND_CALENDAR_TIME_EVENT: u32 595 pub const radroots_event::envelope::kind::KIND_CLASSIFIED_LISTING: u32 596 pub const radroots_event::envelope::kind::KIND_COMMENT: u32 597 pub const radroots_event::envelope::kind::KIND_CONTRIBUTION_ATTESTATION: u32 598 pub const radroots_event::envelope::kind::KIND_COOP: u32 599 pub const radroots_event::envelope::kind::KIND_DELETION_REQUEST: u32 600 pub const radroots_event::envelope::kind::KIND_DOCUMENT: u32 601 pub const radroots_event::envelope::kind::KIND_EVIDENCE_BOUNTY: u32 602 pub const radroots_event::envelope::kind::KIND_FARM: u32 603 pub const radroots_event::envelope::kind::KIND_FARM_CRDT_CHANGE: u32 604 pub const radroots_event::envelope::kind::KIND_FARM_FILE_METADATA: u32 605 pub const radroots_event::envelope::kind::KIND_FARM_WORKSPACE_MANIFEST: u32 606 pub const radroots_event::envelope::kind::KIND_FILE_METADATA: u32 607 pub const radroots_event::envelope::kind::KIND_FOLLOW: u32 608 pub const radroots_event::envelope::kind::KIND_GENERIC_REPOST: u32 609 pub const radroots_event::envelope::kind::KIND_GEOCHAT: u32 610 pub const radroots_event::envelope::kind::KIND_GIFT_WRAP: u32 611 pub const radroots_event::envelope::kind::KIND_GROUP_ADMINS: u32 612 pub const radroots_event::envelope::kind::KIND_GROUP_CREATE_GROUP: u32 613 pub const radroots_event::envelope::kind::KIND_GROUP_CREATE_INVITE: u32 614 pub const radroots_event::envelope::kind::KIND_GROUP_DELETE_EVENT: u32 615 pub const radroots_event::envelope::kind::KIND_GROUP_DELETE_GROUP: u32 616 pub const radroots_event::envelope::kind::KIND_GROUP_EDIT_METADATA: u32 617 pub const radroots_event::envelope::kind::KIND_GROUP_JOIN_REQUEST: u32 618 pub const radroots_event::envelope::kind::KIND_GROUP_LEAVE_REQUEST: u32 619 pub const radroots_event::envelope::kind::KIND_GROUP_MEMBERS: u32 620 pub const radroots_event::envelope::kind::KIND_GROUP_METADATA: u32 621 pub const radroots_event::envelope::kind::KIND_GROUP_PUT_USER: u32 622 pub const radroots_event::envelope::kind::KIND_GROUP_REMOVE_USER: u32 623 pub const radroots_event::envelope::kind::KIND_GROUP_ROLES: u32 624 pub const radroots_event::envelope::kind::KIND_HTTP_AUTH: u32 625 pub const radroots_event::envelope::kind::KIND_JOB_FEEDBACK: u32 626 pub const radroots_event::envelope::kind::KIND_JOB_REQUEST_MAX: u32 627 pub const radroots_event::envelope::kind::KIND_JOB_REQUEST_MIN: u32 628 pub const radroots_event::envelope::kind::KIND_JOB_RESULT_MAX: u32 629 pub const radroots_event::envelope::kind::KIND_JOB_RESULT_MIN: u32 630 pub const radroots_event::envelope::kind::KIND_KNOWLEDGE_CHANGE_PROPOSAL: u32 631 pub const radroots_event::envelope::kind::KIND_KNOWLEDGE_CLAIM: u32 632 pub const radroots_event::envelope::kind::KIND_KNOWLEDGE_FIELD_REPORT: u32 633 pub const radroots_event::envelope::kind::KIND_KNOWLEDGE_RELATION: u32 634 pub const radroots_event::envelope::kind::KIND_KNOWLEDGE_REVIEW: u32 635 pub const radroots_event::envelope::kind::KIND_KNOWLEDGE_SOURCE: u32 636 pub const radroots_event::envelope::kind::KIND_LIST_BLOCKED_RELAYS: u32 637 pub const radroots_event::envelope::kind::KIND_LIST_BOOKMARKS: u32 638 pub const radroots_event::envelope::kind::KIND_LIST_COMMUNITIES: u32 639 pub const radroots_event::envelope::kind::KIND_LIST_DM_RELAYS: u32 640 pub const radroots_event::envelope::kind::KIND_LIST_EMOJIS: u32 641 pub const radroots_event::envelope::kind::KIND_LIST_GOOD_WIKI_AUTHORS: u32 642 pub const radroots_event::envelope::kind::KIND_LIST_GOOD_WIKI_RELAYS: u32 643 pub const radroots_event::envelope::kind::KIND_LIST_INTERESTS: u32 644 pub const radroots_event::envelope::kind::KIND_LIST_MEDIA_FOLLOWS: u32 645 pub const radroots_event::envelope::kind::KIND_LIST_MUTE: u32 646 pub const radroots_event::envelope::kind::KIND_LIST_PINNED_NOTES: u32 647 pub const radroots_event::envelope::kind::KIND_LIST_PUBLIC_CHATS: u32 648 pub const radroots_event::envelope::kind::KIND_LIST_READ_WRITE_RELAYS: u32 649 pub const radroots_event::envelope::kind::KIND_LIST_RELAY_FEEDS: u32 650 pub const radroots_event::envelope::kind::KIND_LIST_SEARCH_RELAYS: u32 651 pub const radroots_event::envelope::kind::KIND_LIST_SET_APP_CURATION: u32 652 pub const radroots_event::envelope::kind::KIND_LIST_SET_BOOKMARK: u32 653 pub const radroots_event::envelope::kind::KIND_LIST_SET_CALENDAR: u32 654 pub const radroots_event::envelope::kind::KIND_LIST_SET_CURATION: u32 655 pub const radroots_event::envelope::kind::KIND_LIST_SET_EMOJI: u32 656 pub const radroots_event::envelope::kind::KIND_LIST_SET_FOLLOW: u32 657 pub const radroots_event::envelope::kind::KIND_LIST_SET_GENERIC: u32 658 pub const radroots_event::envelope::kind::KIND_LIST_SET_INTEREST: u32 659 pub const radroots_event::envelope::kind::KIND_LIST_SET_KIND_MUTE: u32 660 pub const radroots_event::envelope::kind::KIND_LIST_SET_MEDIA_STARTER_PACK: u32 661 pub const radroots_event::envelope::kind::KIND_LIST_SET_PICTURE: u32 662 pub const radroots_event::envelope::kind::KIND_LIST_SET_RELAY: u32 663 pub const radroots_event::envelope::kind::KIND_LIST_SET_RELEASE_ARTIFACT: u32 664 pub const radroots_event::envelope::kind::KIND_LIST_SET_STARTER_PACK: u32 665 pub const radroots_event::envelope::kind::KIND_LIST_SET_VIDEO: u32 666 pub const radroots_event::envelope::kind::KIND_LIST_SIMPLE_GROUPS: u32 667 pub const radroots_event::envelope::kind::KIND_MESSAGE: u32 668 pub const radroots_event::envelope::kind::KIND_MESSAGE_FILE: u32 669 pub const radroots_event::envelope::kind::KIND_ORDER_CANCELLATION: u32 670 pub const radroots_event::envelope::kind::KIND_ORDER_DECISION: u32 671 pub const radroots_event::envelope::kind::KIND_ORDER_REQUEST: u32 672 pub const radroots_event::envelope::kind::KIND_PLOT: u32 673 pub const radroots_event::envelope::kind::KIND_POST: u32 674 pub const radroots_event::envelope::kind::KIND_PROFILE: u32 675 pub const radroots_event::envelope::kind::KIND_PUBLIC_FILE_METADATA: u32 676 pub const radroots_event::envelope::kind::KIND_REACTION: u32 677 pub const radroots_event::envelope::kind::KIND_RELAY_AUTH: u32 678 pub const radroots_event::envelope::kind::KIND_REPORT: u32 679 pub const radroots_event::envelope::kind::KIND_REPOST: u32 680 pub const radroots_event::envelope::kind::KIND_RESOURCE_AREA: u32 681 pub const radroots_event::envelope::kind::KIND_RESOURCE_HARVEST_CAP: u32 682 pub const radroots_event::envelope::kind::KIND_RHI_EVIDENCE_ATTESTATION: u32 683 pub const radroots_event::envelope::kind::KIND_SEAL: u32 684 pub const radroots_event::envelope::kind::KIND_TRADE_CANCELLATION: u32 685 pub const radroots_event::envelope::kind::KIND_TRADE_DECISION: u32 686 pub const radroots_event::envelope::kind::KIND_TRADE_FORBIDDEN_3431: u32 687 pub const radroots_event::envelope::kind::KIND_TRADE_PROPOSAL: u32 688 pub const radroots_event::envelope::kind::KIND_TRADE_REVISION_DECISION: u32 689 pub const radroots_event::envelope::kind::KIND_TRADE_REVISION_PROPOSAL: u32 690 pub const radroots_event::envelope::kind::KIND_TRADE_SELLER_RESERVATION_ASSERTION: u32 691 pub const radroots_event::envelope::kind::KIND_VALIDATOR_SET: u32 692 pub const radroots_event::envelope::kind::KIND_WIKI_ARTICLE: u32 693 pub const radroots_event::envelope::kind::KIND_WIKI_MERGE_REQUEST: u32 694 pub const radroots_event::envelope::kind::KIND_WIKI_REDIRECT: u32 695 pub const radroots_event::envelope::kind::KNOWLEDGE_ADDRESSABLE_EVENT_KINDS: [u32; 4] 696 pub const radroots_event::envelope::kind::KNOWLEDGE_BETA_EVENT_KINDS: [u32; 3] 697 pub const radroots_event::envelope::kind::KNOWLEDGE_EVENT_KINDS: [u32; 11] 698 pub const radroots_event::envelope::kind::KNOWLEDGE_MVP_EVENT_KINDS: [u32; 8] 699 pub const radroots_event::envelope::kind::KNOWLEDGE_REGULAR_EVENT_KINDS: [u32; 7] 700 pub const radroots_event::envelope::kind::MAP_CANDIDATE_KINDS: [u32; 7] 701 pub const radroots_event::envelope::kind::MARKET_CANDIDATE_KINDS: [u32; 3] 702 pub const radroots_event::envelope::kind::MODERATION_ADMIN_CANDIDATE_KINDS: [u32; 1] 703 pub const radroots_event::envelope::kind::MVP_SOCIAL_KINDS: [u32; 7] 704 pub const radroots_event::envelope::kind::NIP29_GROUP_KINDS: [u32; 13] 705 pub const radroots_event::envelope::kind::ORDER_EVENT_KINDS: [u32; 3] 706 pub const radroots_event::envelope::kind::PRIVATE_FARM_OPS_KINDS: [u32; 16] 707 pub const radroots_event::envelope::kind::PRODUCTION_SOCIAL_KINDS: [u32; 4] 708 pub const radroots_event::envelope::kind::PROFILE_PUBLIC_CONTENT_KINDS: [u32; 8] 709 pub const radroots_event::envelope::kind::PUBLIC_SOCIAL_KINDS: [u32; 12] 710 pub const radroots_event::envelope::kind::TRADE_MUTATION_EVENT_KINDS: [u32; 5] 711 pub const radroots_event::envelope::kind::UNAMBIGUOUS_PUBLIC_SOCIAL_KINDS: [u32; 11] 712 pub const radroots_event::envelope::kind::WIKI_EVENT_KINDS: [u32; 3] 713 pub const fn radroots_event::envelope::kind::is_ambiguous_public_social_kind(u32) -> bool 714 pub const fn radroots_event::envelope::kind::is_classified_listing_kind(u32) -> bool 715 pub const fn radroots_event::envelope::kind::is_commercial_event_kind(u32) -> bool 716 pub const fn radroots_event::envelope::kind::is_events_candidate_kind(u32) -> bool 717 pub const fn radroots_event::envelope::kind::is_home_feed_candidate_kind(u32) -> bool 718 pub const fn radroots_event::envelope::kind::is_knowledge_addressable_event_kind(u32) -> bool 719 pub const fn radroots_event::envelope::kind::is_knowledge_beta_event_kind(u32) -> bool 720 pub const fn radroots_event::envelope::kind::is_knowledge_event_kind(u32) -> bool 721 pub const fn radroots_event::envelope::kind::is_knowledge_mvp_event_kind(u32) -> bool 722 pub const fn radroots_event::envelope::kind::is_knowledge_regular_event_kind(u32) -> bool 723 pub const fn radroots_event::envelope::kind::is_map_candidate_kind(u32) -> bool 724 pub const fn radroots_event::envelope::kind::is_market_candidate_kind(u32) -> bool 725 pub const fn radroots_event::envelope::kind::is_moderation_admin_candidate_kind(u32) -> bool 726 pub const fn radroots_event::envelope::kind::is_mvp_social_kind(u32) -> bool 727 pub const fn radroots_event::envelope::kind::is_nip29_group_kind(u32) -> bool 728 pub const fn radroots_event::envelope::kind::is_nip51_list_set_kind(u32) -> bool 729 pub const fn radroots_event::envelope::kind::is_nip51_standard_list_kind(u32) -> bool 730 pub const fn radroots_event::envelope::kind::is_order_event_kind(u32) -> bool 731 pub const fn radroots_event::envelope::kind::is_private_farm_ops_kind(u32) -> bool 732 pub const fn radroots_event::envelope::kind::is_production_social_kind(u32) -> bool 733 pub const fn radroots_event::envelope::kind::is_profile_public_content_kind(u32) -> bool 734 pub const fn radroots_event::envelope::kind::is_public_file_metadata_kind(u32) -> bool 735 pub const fn radroots_event::envelope::kind::is_public_social_kind(u32) -> bool 736 pub const fn radroots_event::envelope::kind::is_request_kind(u32) -> bool 737 pub const fn radroots_event::envelope::kind::is_result_kind(u32) -> bool 738 pub const fn radroots_event::envelope::kind::is_trade_mutation_event_kind(u32) -> bool 739 pub const fn radroots_event::envelope::kind::is_unambiguous_public_social_kind(u32) -> bool 740 pub const fn radroots_event::envelope::kind::is_wiki_event_kind(u32) -> bool 741 pub const fn radroots_event::envelope::kind::request_kind_for_result_kind(u32) -> core::option::Option<u32> 742 pub const fn radroots_event::envelope::kind::result_kind_for_request_kind(u32) -> core::option::Option<u32> 743 pub enum radroots_event::envelope::EventEnvelopeError 744 pub radroots_event::envelope::EventEnvelopeError::ContentTooLarge 745 pub radroots_event::envelope::EventEnvelopeError::ContentTooLarge::actual: usize 746 pub radroots_event::envelope::EventEnvelopeError::ContentTooLarge::max: usize 747 pub radroots_event::envelope::EventEnvelopeError::ControlCharacterTagKey 748 pub radroots_event::envelope::EventEnvelopeError::ControlCharacterTagKey::index: usize 749 pub radroots_event::envelope::EventEnvelopeError::EmptyTag 750 pub radroots_event::envelope::EventEnvelopeError::EmptyTag::index: usize 751 pub radroots_event::envelope::EventEnvelopeError::EmptyTagKey 752 pub radroots_event::envelope::EventEnvelopeError::EmptyTagKey::index: usize 753 pub radroots_event::envelope::EventEnvelopeError::InvalidAuthor(radroots_event::id::ParseError) 754 pub radroots_event::envelope::EventEnvelopeError::InvalidId(radroots_event::id::ParseError) 755 pub radroots_event::envelope::EventEnvelopeError::InvalidSignature(radroots_event::id::ParseError) 756 pub radroots_event::envelope::EventEnvelopeError::NonCanonicalAuthor 757 pub radroots_event::envelope::EventEnvelopeError::NonCanonicalId 758 pub radroots_event::envelope::EventEnvelopeError::NonCanonicalSignature 759 pub radroots_event::envelope::EventEnvelopeError::TagElementTooLarge 760 pub radroots_event::envelope::EventEnvelopeError::TagElementTooLarge::actual: usize 761 pub radroots_event::envelope::EventEnvelopeError::TagElementTooLarge::element_index: usize 762 pub radroots_event::envelope::EventEnvelopeError::TagElementTooLarge::max: usize 763 pub radroots_event::envelope::EventEnvelopeError::TagElementTooLarge::tag_index: usize 764 pub radroots_event::envelope::EventEnvelopeError::TagsTooLarge 765 pub radroots_event::envelope::EventEnvelopeError::TagsTooLarge::actual: usize 766 pub radroots_event::envelope::EventEnvelopeError::TagsTooLarge::max: usize 767 pub radroots_event::envelope::EventEnvelopeError::TooManyTagElements 768 pub radroots_event::envelope::EventEnvelopeError::TooManyTagElements::actual: usize 769 pub radroots_event::envelope::EventEnvelopeError::TooManyTagElements::max: usize 770 pub radroots_event::envelope::EventEnvelopeError::TooManyTags 771 pub radroots_event::envelope::EventEnvelopeError::TooManyTags::actual: usize 772 pub radroots_event::envelope::EventEnvelopeError::TooManyTags::max: usize 773 impl core::convert::From<radroots_event::envelope::EventEnvelopeError> for radroots_event::draft::DraftError 774 pub fn radroots_event::draft::DraftError::from(radroots_event::envelope::EventEnvelopeError) -> Self 775 impl core::convert::From<radroots_event::envelope::EventEnvelopeError> for radroots_event::draft::SignedEventError 776 pub fn radroots_event::draft::SignedEventError::from(radroots_event::envelope::EventEnvelopeError) -> Self 777 impl core::error::Error for radroots_event::envelope::EventEnvelopeError 778 impl core::fmt::Display for radroots_event::envelope::EventEnvelopeError 779 pub fn radroots_event::envelope::EventEnvelopeError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 780 pub enum radroots_event::envelope::EventKindClass 781 pub radroots_event::envelope::EventKindClass::Addressable 782 pub radroots_event::envelope::EventKindClass::Ephemeral 783 pub radroots_event::envelope::EventKindClass::Regular 784 pub radroots_event::envelope::EventKindClass::Replaceable 785 pub struct radroots_event::envelope::EventEnvelope 786 impl radroots_event::envelope::EventEnvelope 787 pub fn radroots_event::envelope::EventEnvelope::author(&self) -> &radroots_identity::key::PublicKey 788 pub fn radroots_event::envelope::EventEnvelope::content(&self) -> &str 789 pub fn radroots_event::envelope::EventEnvelope::created_at(&self) -> radroots_event::envelope::EventTimestamp 790 pub fn radroots_event::envelope::EventEnvelope::created_at_u64(&self) -> u64 791 pub fn radroots_event::envelope::EventEnvelope::id(&self) -> &radroots_event::id::EventId 792 pub fn radroots_event::envelope::EventEnvelope::id_hex(&self) -> alloc::string::String 793 pub fn radroots_event::envelope::EventEnvelope::kind(&self) -> radroots_event::envelope::EventKind 794 pub fn radroots_event::envelope::EventEnvelope::kind_class(&self) -> radroots_event::envelope::EventKindClass 795 pub fn radroots_event::envelope::EventEnvelope::kind_u32(&self) -> u32 796 pub fn radroots_event::envelope::EventEnvelope::new(radroots_event::envelope::EventEnvelopeParts) -> core::result::Result<Self, radroots_event::envelope::EventEnvelopeError> 797 pub fn radroots_event::envelope::EventEnvelope::new_with_limits(radroots_event::envelope::EventEnvelopeParts, radroots_event::envelope::EventEnvelopeLimits) -> core::result::Result<Self, radroots_event::envelope::EventEnvelopeError> 798 pub fn radroots_event::envelope::EventEnvelope::sig(&self) -> &radroots_event::id::EventSignature 799 pub fn radroots_event::envelope::EventEnvelope::signature_hex(&self) -> alloc::string::String 800 pub fn radroots_event::envelope::EventEnvelope::tag_slices(&self) -> &[radroots_event::envelope::EventTag] 801 pub fn radroots_event::envelope::EventEnvelope::tags(&self) -> &radroots_event::envelope::EventTags 802 pub fn radroots_event::envelope::EventEnvelope::tags_as_vec(&self) -> alloc::vec::Vec<alloc::vec::Vec<alloc::string::String>> 803 pub fn radroots_event::envelope::EventEnvelope::to_nip01_wire(&self) -> Nip01EventWire 804 pub struct radroots_event::envelope::EventEnvelopeLimits 805 pub radroots_event::envelope::EventEnvelopeLimits::max_content_bytes: usize 806 pub radroots_event::envelope::EventEnvelopeLimits::max_tag_count: usize 807 pub radroots_event::envelope::EventEnvelopeLimits::max_tag_element_bytes: usize 808 pub radroots_event::envelope::EventEnvelopeLimits::max_total_tag_bytes: usize 809 pub radroots_event::envelope::EventEnvelopeLimits::max_total_tag_elements: usize 810 impl core::default::Default for radroots_event::envelope::EventEnvelopeLimits 811 pub fn radroots_event::envelope::EventEnvelopeLimits::default() -> Self 812 pub struct radroots_event::envelope::EventEnvelopeParts 813 pub radroots_event::envelope::EventEnvelopeParts::author: alloc::string::String 814 pub radroots_event::envelope::EventEnvelopeParts::content: alloc::string::String 815 pub radroots_event::envelope::EventEnvelopeParts::created_at: u64 816 pub radroots_event::envelope::EventEnvelopeParts::id: alloc::string::String 817 pub radroots_event::envelope::EventEnvelopeParts::kind: u32 818 pub radroots_event::envelope::EventEnvelopeParts::sig: alloc::string::String 819 pub radroots_event::envelope::EventEnvelopeParts::tags: alloc::vec::Vec<alloc::vec::Vec<alloc::string::String>> 820 pub struct radroots_event::envelope::EventKind(_) 821 impl radroots_event::envelope::EventKind 822 pub const fn radroots_event::envelope::EventKind::as_u32(self) -> u32 823 pub const fn radroots_event::envelope::EventKind::class(self) -> radroots_event::envelope::EventKindClass 824 pub const fn radroots_event::envelope::EventKind::new(u32) -> Self 825 impl core::convert::From<u32> for radroots_event::envelope::EventKind 826 pub fn radroots_event::envelope::EventKind::from(u32) -> Self 827 impl serde_core::ser::Serialize for radroots_event::envelope::EventKind 828 pub fn radroots_event::envelope::EventKind::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 829 impl<'de> serde_core::de::Deserialize<'de> for radroots_event::envelope::EventKind 830 pub fn radroots_event::envelope::EventKind::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 831 pub struct radroots_event::envelope::EventTag(_) 832 impl radroots_event::envelope::EventTag 833 pub fn radroots_event::envelope::EventTag::as_slice(&self) -> &[alloc::string::String] 834 pub fn radroots_event::envelope::EventTag::into_vec(self) -> alloc::vec::Vec<alloc::string::String> 835 pub fn radroots_event::envelope::EventTag::new(usize, alloc::vec::Vec<alloc::string::String>) -> core::result::Result<Self, radroots_event::envelope::EventEnvelopeError> 836 pub fn radroots_event::envelope::EventTag::new_with_limits(usize, alloc::vec::Vec<alloc::string::String>, radroots_event::envelope::EventEnvelopeLimits) -> core::result::Result<Self, radroots_event::envelope::EventEnvelopeError> 837 impl serde_core::ser::Serialize for radroots_event::envelope::EventTag 838 pub fn radroots_event::envelope::EventTag::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 839 impl<'de> serde_core::de::Deserialize<'de> for radroots_event::envelope::EventTag 840 pub fn radroots_event::envelope::EventTag::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 841 pub struct radroots_event::envelope::EventTags(_) 842 impl radroots_event::envelope::EventTags 843 pub fn radroots_event::envelope::EventTags::as_slice(&self) -> &[radroots_event::envelope::EventTag] 844 pub fn radroots_event::envelope::EventTags::into_vec(self) -> alloc::vec::Vec<alloc::vec::Vec<alloc::string::String>> 845 pub fn radroots_event::envelope::EventTags::is_empty(&self) -> bool 846 pub fn radroots_event::envelope::EventTags::len(&self) -> usize 847 pub fn radroots_event::envelope::EventTags::new(alloc::vec::Vec<alloc::vec::Vec<alloc::string::String>>) -> core::result::Result<Self, radroots_event::envelope::EventEnvelopeError> 848 pub fn radroots_event::envelope::EventTags::new_with_limits(alloc::vec::Vec<alloc::vec::Vec<alloc::string::String>>, radroots_event::envelope::EventEnvelopeLimits) -> core::result::Result<Self, radroots_event::envelope::EventEnvelopeError> 849 pub fn radroots_event::envelope::EventTags::to_vec(&self) -> alloc::vec::Vec<alloc::vec::Vec<alloc::string::String>> 850 impl serde_core::ser::Serialize for radroots_event::envelope::EventTags 851 pub fn radroots_event::envelope::EventTags::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 852 impl<'de> serde_core::de::Deserialize<'de> for radroots_event::envelope::EventTags 853 pub fn radroots_event::envelope::EventTags::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 854 pub struct radroots_event::envelope::EventTimestamp(_) 855 impl radroots_event::envelope::EventTimestamp 856 pub const fn radroots_event::envelope::EventTimestamp::as_u64(self) -> u64 857 pub const fn radroots_event::envelope::EventTimestamp::new(u64) -> Self 858 impl core::convert::From<u64> for radroots_event::envelope::EventTimestamp 859 pub fn radroots_event::envelope::EventTimestamp::from(u64) -> Self 860 impl serde_core::ser::Serialize for radroots_event::envelope::EventTimestamp 861 pub fn radroots_event::envelope::EventTimestamp::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 862 impl<'de> serde_core::de::Deserialize<'de> for radroots_event::envelope::EventTimestamp 863 pub fn radroots_event::envelope::EventTimestamp::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 864 pub mod radroots_event::farm 865 pub mod radroots_event::farm::change_set 866 pub struct radroots_event::farm::change_set::GcsLocation 867 pub radroots_event::farm::change_set::GcsLocation::accuracy: core::option::Option<f64> 868 pub radroots_event::farm::change_set::GcsLocation::altitude: core::option::Option<f64> 869 pub radroots_event::farm::change_set::GcsLocation::area: core::option::Option<f64> 870 pub radroots_event::farm::change_set::GcsLocation::climate: core::option::Option<alloc::string::String> 871 pub radroots_event::farm::change_set::GcsLocation::elevation: core::option::Option<u32> 872 pub radroots_event::farm::change_set::GcsLocation::gc_admin1_id: core::option::Option<alloc::string::String> 873 pub radroots_event::farm::change_set::GcsLocation::gc_admin1_name: core::option::Option<alloc::string::String> 874 pub radroots_event::farm::change_set::GcsLocation::gc_country_id: core::option::Option<alloc::string::String> 875 pub radroots_event::farm::change_set::GcsLocation::gc_country_name: core::option::Option<alloc::string::String> 876 pub radroots_event::farm::change_set::GcsLocation::gc_id: core::option::Option<alloc::string::String> 877 pub radroots_event::farm::change_set::GcsLocation::gc_name: core::option::Option<alloc::string::String> 878 pub radroots_event::farm::change_set::GcsLocation::geohash: alloc::string::String 879 pub radroots_event::farm::change_set::GcsLocation::label: core::option::Option<alloc::string::String> 880 pub radroots_event::farm::change_set::GcsLocation::lat: f64 881 pub radroots_event::farm::change_set::GcsLocation::lng: f64 882 pub radroots_event::farm::change_set::GcsLocation::point: radroots_event::farm::change_set::GeoJsonPoint 883 pub radroots_event::farm::change_set::GcsLocation::polygon: radroots_event::farm::change_set::GeoJsonPolygon 884 pub radroots_event::farm::change_set::GcsLocation::soil: core::option::Option<alloc::string::String> 885 pub radroots_event::farm::change_set::GcsLocation::tag_0: core::option::Option<alloc::string::String> 886 pub struct radroots_event::farm::change_set::GeoJsonPoint 887 pub radroots_event::farm::change_set::GeoJsonPoint::coordinates: [f64; 2] 888 pub radroots_event::farm::change_set::GeoJsonPoint::type: alloc::string::String 889 pub struct radroots_event::farm::change_set::GeoJsonPolygon 890 pub radroots_event::farm::change_set::GeoJsonPolygon::coordinates: alloc::vec::Vec<alloc::vec::Vec<[f64; 2]>> 891 pub radroots_event::farm::change_set::GeoJsonPolygon::type: alloc::string::String 892 pub mod radroots_event::farm::coop 893 pub struct radroots_event::farm::coop::Coop 894 pub radroots_event::farm::coop::Coop::about: core::option::Option<alloc::string::String> 895 pub radroots_event::farm::coop::Coop::banner: core::option::Option<alloc::string::String> 896 pub radroots_event::farm::coop::Coop::d_tag: alloc::string::String 897 pub radroots_event::farm::coop::Coop::location: core::option::Option<radroots_event::farm::coop::CoopLocation> 898 pub radroots_event::farm::coop::Coop::name: alloc::string::String 899 pub radroots_event::farm::coop::Coop::picture: core::option::Option<alloc::string::String> 900 pub radroots_event::farm::coop::Coop::tags: core::option::Option<alloc::vec::Vec<alloc::string::String>> 901 pub radroots_event::farm::coop::Coop::website: core::option::Option<alloc::string::String> 902 pub struct radroots_event::farm::coop::CoopLocation 903 pub radroots_event::farm::coop::CoopLocation::city: core::option::Option<alloc::string::String> 904 pub radroots_event::farm::coop::CoopLocation::country: core::option::Option<alloc::string::String> 905 pub radroots_event::farm::coop::CoopLocation::gcs: radroots_event::farm::change_set::GcsLocation 906 pub radroots_event::farm::coop::CoopLocation::primary: core::option::Option<alloc::string::String> 907 pub radroots_event::farm::coop::CoopLocation::region: core::option::Option<alloc::string::String> 908 pub struct radroots_event::farm::coop::CoopRef 909 pub radroots_event::farm::coop::CoopRef::d_tag: alloc::string::String 910 pub radroots_event::farm::coop::CoopRef::pubkey: alloc::string::String 911 pub mod radroots_event::farm::crdt 912 pub enum radroots_event::farm::crdt::CrdtBackend 913 pub radroots_event::farm::crdt::CrdtBackend::Automerge 914 pub radroots_event::farm::crdt::CrdtBackend::Loro 915 pub radroots_event::farm::crdt::CrdtBackend::Yjs 916 pub enum radroots_event::farm::crdt::FarmCrdtDocumentKind 917 pub radroots_event::farm::crdt::FarmCrdtDocumentKind::FarmActivity 918 pub radroots_event::farm::crdt::FarmCrdtDocumentKind::FarmAttachment 919 pub radroots_event::farm::crdt::FarmCrdtDocumentKind::FarmCrop 920 pub radroots_event::farm::crdt::FarmCrdtDocumentKind::FarmCropCycle 921 pub radroots_event::farm::crdt::FarmCrdtDocumentKind::FarmCropVariety 922 pub radroots_event::farm::crdt::FarmCrdtDocumentKind::FarmHarvestRecord 923 pub radroots_event::farm::crdt::FarmCrdtDocumentKind::FarmInventoryItem 924 pub radroots_event::farm::crdt::FarmCrdtDocumentKind::FarmLocation 925 pub radroots_event::farm::crdt::FarmCrdtDocumentKind::FarmMediaAsset 926 pub radroots_event::farm::crdt::FarmCrdtDocumentKind::FarmMembership 927 pub radroots_event::farm::crdt::FarmCrdtDocumentKind::FarmObservation 928 pub radroots_event::farm::crdt::FarmCrdtDocumentKind::FarmPayPeriod 929 pub radroots_event::farm::crdt::FarmCrdtDocumentKind::FarmRolePolicy 930 pub radroots_event::farm::crdt::FarmCrdtDocumentKind::FarmTask 931 pub radroots_event::farm::crdt::FarmCrdtDocumentKind::FarmWorkSession 932 pub radroots_event::farm::crdt::FarmCrdtDocumentKind::Other 933 pub radroots_event::farm::crdt::FarmCrdtDocumentKind::Other::value: alloc::string::String 934 impl radroots_event::farm::crdt::FarmCrdtDocumentKind 935 pub fn radroots_event::farm::crdt::FarmCrdtDocumentKind::as_str(&self) -> &str 936 impl core::convert::From<alloc::string::String> for radroots_event::farm::crdt::FarmCrdtDocumentKind 937 pub fn radroots_event::farm::crdt::FarmCrdtDocumentKind::from(alloc::string::String) -> Self 938 impl core::convert::From<radroots_event::farm::crdt::FarmCrdtDocumentKind> for alloc::string::String 939 pub fn alloc::string::String::from(radroots_event::farm::crdt::FarmCrdtDocumentKind) -> Self 940 pub enum radroots_event::farm::crdt::FarmSemanticKind 941 pub radroots_event::farm::crdt::FarmSemanticKind::FarmActivityCreate 942 pub radroots_event::farm::crdt::FarmSemanticKind::FarmCropCreate 943 pub radroots_event::farm::crdt::FarmSemanticKind::FarmCropCycleCreate 944 pub radroots_event::farm::crdt::FarmSemanticKind::FarmCropVarietyCreate 945 pub radroots_event::farm::crdt::FarmSemanticKind::FarmHarvestAttachmentAttach 946 pub radroots_event::farm::crdt::FarmSemanticKind::FarmHarvestLineAdd 947 pub radroots_event::farm::crdt::FarmSemanticKind::FarmHarvestLineCorrect 948 pub radroots_event::farm::crdt::FarmSemanticKind::FarmHarvestLineVoid 949 pub radroots_event::farm::crdt::FarmSemanticKind::FarmHarvestRecordCreate 950 pub radroots_event::farm::crdt::FarmSemanticKind::FarmHarvestRecordUpdate 951 pub radroots_event::farm::crdt::FarmSemanticKind::FarmInventoryItemUpdate 952 pub radroots_event::farm::crdt::FarmSemanticKind::FarmLocationCreate 953 pub radroots_event::farm::crdt::FarmSemanticKind::FarmMediaAssetAttach 954 pub radroots_event::farm::crdt::FarmSemanticKind::FarmMemberApprove 955 pub radroots_event::farm::crdt::FarmSemanticKind::FarmMemberDeactivate 956 pub radroots_event::farm::crdt::FarmSemanticKind::FarmMemberInviteCreate 957 pub radroots_event::farm::crdt::FarmSemanticKind::FarmMemberRoleSet 958 pub radroots_event::farm::crdt::FarmSemanticKind::FarmNoteCreate 959 pub radroots_event::farm::crdt::FarmSemanticKind::FarmObservationCreate 960 pub radroots_event::farm::crdt::FarmSemanticKind::FarmPayPeriodClose 961 pub radroots_event::farm::crdt::FarmSemanticKind::FarmPayPeriodOpen 962 pub radroots_event::farm::crdt::FarmSemanticKind::FarmReportExportMark 963 pub radroots_event::farm::crdt::FarmSemanticKind::FarmTaskAssign 964 pub radroots_event::farm::crdt::FarmSemanticKind::FarmTaskAttachmentAttach 965 pub radroots_event::farm::crdt::FarmSemanticKind::FarmTaskChecklistItemAdd 966 pub radroots_event::farm::crdt::FarmSemanticKind::FarmTaskCommentAdd 967 pub radroots_event::farm::crdt::FarmSemanticKind::FarmTaskComplete 968 pub radroots_event::farm::crdt::FarmSemanticKind::FarmTaskCreate 969 pub radroots_event::farm::crdt::FarmSemanticKind::FarmTaskFollowUpCreate 970 pub radroots_event::farm::crdt::FarmSemanticKind::FarmTaskJoin 971 pub radroots_event::farm::crdt::FarmSemanticKind::FarmTaskStatusSet 972 pub radroots_event::farm::crdt::FarmSemanticKind::FarmTaskUpdate 973 pub radroots_event::farm::crdt::FarmSemanticKind::FarmWorkSessionApprove 974 pub radroots_event::farm::crdt::FarmSemanticKind::FarmWorkSessionCorrect 975 pub radroots_event::farm::crdt::FarmSemanticKind::FarmWorkSessionEnd 976 pub radroots_event::farm::crdt::FarmSemanticKind::FarmWorkSessionManualEntryCreate 977 pub radroots_event::farm::crdt::FarmSemanticKind::FarmWorkSessionReject 978 pub radroots_event::farm::crdt::FarmSemanticKind::FarmWorkSessionStart 979 pub radroots_event::farm::crdt::FarmSemanticKind::FarmWorkSessionStop 980 pub radroots_event::farm::crdt::FarmSemanticKind::FarmWorkSessionSubmit 981 pub radroots_event::farm::crdt::FarmSemanticKind::FarmWorkSessionUpdate 982 pub radroots_event::farm::crdt::FarmSemanticKind::FarmWorkspaceUpdate 983 pub radroots_event::farm::crdt::FarmSemanticKind::Other 984 pub radroots_event::farm::crdt::FarmSemanticKind::Other::value: alloc::string::String 985 impl radroots_event::farm::crdt::FarmSemanticKind 986 pub fn radroots_event::farm::crdt::FarmSemanticKind::as_str(&self) -> &str 987 impl core::convert::From<alloc::string::String> for radroots_event::farm::crdt::FarmSemanticKind 988 pub fn radroots_event::farm::crdt::FarmSemanticKind::from(alloc::string::String) -> Self 989 impl core::convert::From<radroots_event::farm::crdt::FarmSemanticKind> for alloc::string::String 990 pub fn alloc::string::String::from(radroots_event::farm::crdt::FarmSemanticKind) -> Self 991 pub struct radroots_event::farm::crdt::FarmCrdtChange 992 pub radroots_event::farm::crdt::FarmCrdtChange::actor_id: alloc::string::String 993 pub radroots_event::farm::crdt::FarmCrdtChange::app_version: core::option::Option<alloc::string::String> 994 pub radroots_event::farm::crdt::FarmCrdtChange::author_member_id: core::option::Option<alloc::string::String> 995 pub radroots_event::farm::crdt::FarmCrdtChange::business_time_ms: u64 996 pub radroots_event::farm::crdt::FarmCrdtChange::change_hash: alloc::string::String 997 pub radroots_event::farm::crdt::FarmCrdtChange::crdt_backend: radroots_event::farm::crdt::CrdtBackend 998 pub radroots_event::farm::crdt::FarmCrdtChange::crdt_backend_version: core::option::Option<alloc::string::String> 999 pub radroots_event::farm::crdt::FarmCrdtChange::dependencies: alloc::vec::Vec<alloc::string::String> 1000 pub radroots_event::farm::crdt::FarmCrdtChange::document_id: alloc::string::String 1001 pub radroots_event::farm::crdt::FarmCrdtChange::document_kind: radroots_event::farm::crdt::FarmCrdtDocumentKind 1002 pub radroots_event::farm::crdt::FarmCrdtChange::encoded_change: alloc::string::String 1003 pub radroots_event::farm::crdt::FarmCrdtChange::farm_group_id: alloc::string::String 1004 pub radroots_event::farm::crdt::FarmCrdtChange::schema: alloc::string::String 1005 pub radroots_event::farm::crdt::FarmCrdtChange::semantic_kind: radroots_event::farm::crdt::FarmSemanticKind 1006 pub radroots_event::farm::crdt::FarmCrdtChange::workspace: radroots_event::farm::workspace::FarmWorkspaceRef 1007 pub const radroots_event::farm::crdt::KIND_FARM_CRDT_CHANGE: u32 1008 pub const radroots_event::farm::crdt::RADROOTS_FARM_CRDT_CHANGE_SCHEMA: &str 1009 pub const radroots_event::farm::crdt::RADROOTS_FARM_CRDT_TAG: &str 1010 pub mod radroots_event::farm::file 1011 pub struct radroots_event::farm::file::FarmFileDimensions 1012 pub radroots_event::farm::file::FarmFileDimensions::h: u32 1013 pub radroots_event::farm::file::FarmFileDimensions::w: u32 1014 pub struct radroots_event::farm::file::FarmFileMetadata 1015 pub radroots_event::farm::file::FarmFileMetadata::alt: core::option::Option<alloc::string::String> 1016 pub radroots_event::farm::file::FarmFileMetadata::blurhash: core::option::Option<alloc::string::String> 1017 pub radroots_event::farm::file::FarmFileMetadata::caption: core::option::Option<alloc::string::String> 1018 pub radroots_event::farm::file::FarmFileMetadata::d_tag: alloc::string::String 1019 pub radroots_event::farm::file::FarmFileMetadata::dimensions: core::option::Option<radroots_event::farm::file::FarmFileDimensions> 1020 pub radroots_event::farm::file::FarmFileMetadata::fallbacks: alloc::vec::Vec<alloc::string::String> 1021 pub radroots_event::farm::file::FarmFileMetadata::farm_group_id: alloc::string::String 1022 pub radroots_event::farm::file::FarmFileMetadata::image: core::option::Option<radroots_event::farm::file::FarmFileSource> 1023 pub radroots_event::farm::file::FarmFileMetadata::mime_type: alloc::string::String 1024 pub radroots_event::farm::file::FarmFileMetadata::original_sha256: core::option::Option<alloc::string::String> 1025 pub radroots_event::farm::file::FarmFileMetadata::owner_document_id: alloc::string::String 1026 pub radroots_event::farm::file::FarmFileMetadata::owner_document_kind: radroots_event::farm::crdt::FarmCrdtDocumentKind 1027 pub radroots_event::farm::file::FarmFileMetadata::sha256: alloc::string::String 1028 pub radroots_event::farm::file::FarmFileMetadata::size_bytes: core::option::Option<u64> 1029 pub radroots_event::farm::file::FarmFileMetadata::thumb: core::option::Option<radroots_event::farm::file::FarmFileSource> 1030 pub radroots_event::farm::file::FarmFileMetadata::url: alloc::string::String 1031 pub radroots_event::farm::file::FarmFileMetadata::workspace: radroots_event::farm::workspace::FarmWorkspaceRef 1032 pub struct radroots_event::farm::file::FarmFileSource 1033 pub radroots_event::farm::file::FarmFileSource::dimensions: core::option::Option<radroots_event::farm::file::FarmFileDimensions> 1034 pub radroots_event::farm::file::FarmFileSource::mime_type: core::option::Option<alloc::string::String> 1035 pub radroots_event::farm::file::FarmFileSource::url: alloc::string::String 1036 pub const radroots_event::farm::file::KIND_FARM_FILE_METADATA: u32 1037 pub mod radroots_event::farm::location 1038 pub const radroots_event::farm::location::RADROOTS_PUBLIC_GEOHASH_BASE32: &str 1039 pub const radroots_event::farm::location::RADROOTS_PUBLIC_GEOHASH_PRECISION: usize 1040 pub fn radroots_event::farm::location::has_textual_locality(&str, core::option::Option<&str>, core::option::Option<&str>, core::option::Option<&str>) -> bool 1041 pub fn radroots_event::farm::location::is_public_geohash5(&str) -> bool 1042 pub mod radroots_event::farm::plot 1043 pub struct radroots_event::farm::plot::Plot 1044 pub radroots_event::farm::plot::Plot::about: core::option::Option<alloc::string::String> 1045 pub radroots_event::farm::plot::Plot::d_tag: alloc::string::String 1046 pub radroots_event::farm::plot::Plot::farm: radroots_event::farm::FarmRef 1047 pub radroots_event::farm::plot::Plot::location: core::option::Option<radroots_event::farm::plot::PlotLocation> 1048 pub radroots_event::farm::plot::Plot::name: alloc::string::String 1049 pub radroots_event::farm::plot::Plot::tags: core::option::Option<alloc::vec::Vec<alloc::string::String>> 1050 pub struct radroots_event::farm::plot::PlotLocation 1051 pub radroots_event::farm::plot::PlotLocation::city: core::option::Option<alloc::string::String> 1052 pub radroots_event::farm::plot::PlotLocation::country: core::option::Option<alloc::string::String> 1053 pub radroots_event::farm::plot::PlotLocation::gcs: radroots_event::farm::change_set::GcsLocation 1054 pub radroots_event::farm::plot::PlotLocation::primary: core::option::Option<alloc::string::String> 1055 pub radroots_event::farm::plot::PlotLocation::region: core::option::Option<alloc::string::String> 1056 pub struct radroots_event::farm::plot::PlotRef 1057 pub radroots_event::farm::plot::PlotRef::d_tag: alloc::string::String 1058 pub radroots_event::farm::plot::PlotRef::pubkey: alloc::string::String 1059 pub mod radroots_event::farm::resource_area 1060 pub struct radroots_event::farm::resource_area::ResourceArea 1061 pub radroots_event::farm::resource_area::ResourceArea::about: core::option::Option<alloc::string::String> 1062 pub radroots_event::farm::resource_area::ResourceArea::d_tag: alloc::string::String 1063 pub radroots_event::farm::resource_area::ResourceArea::location: radroots_event::farm::resource_area::ResourceAreaLocation 1064 pub radroots_event::farm::resource_area::ResourceArea::name: alloc::string::String 1065 pub radroots_event::farm::resource_area::ResourceArea::tags: core::option::Option<alloc::vec::Vec<alloc::string::String>> 1066 pub struct radroots_event::farm::resource_area::ResourceAreaLocation 1067 pub radroots_event::farm::resource_area::ResourceAreaLocation::city: core::option::Option<alloc::string::String> 1068 pub radroots_event::farm::resource_area::ResourceAreaLocation::country: core::option::Option<alloc::string::String> 1069 pub radroots_event::farm::resource_area::ResourceAreaLocation::gcs: radroots_event::farm::change_set::GcsLocation 1070 pub radroots_event::farm::resource_area::ResourceAreaLocation::primary: core::option::Option<alloc::string::String> 1071 pub radroots_event::farm::resource_area::ResourceAreaLocation::region: core::option::Option<alloc::string::String> 1072 pub struct radroots_event::farm::resource_area::ResourceAreaRef 1073 pub radroots_event::farm::resource_area::ResourceAreaRef::d_tag: alloc::string::String 1074 pub radroots_event::farm::resource_area::ResourceAreaRef::pubkey: alloc::string::String 1075 pub mod radroots_event::farm::resource_cap 1076 pub struct radroots_event::farm::resource_cap::ResourceHarvestCap 1077 pub radroots_event::farm::resource_cap::ResourceHarvestCap::cap_quantity: radroots_core::quantity::Quantity 1078 pub radroots_event::farm::resource_cap::ResourceHarvestCap::d_tag: alloc::string::String 1079 pub radroots_event::farm::resource_cap::ResourceHarvestCap::display_amount: core::option::Option<radroots_core::decimal::Decimal> 1080 pub radroots_event::farm::resource_cap::ResourceHarvestCap::display_label: core::option::Option<alloc::string::String> 1081 pub radroots_event::farm::resource_cap::ResourceHarvestCap::display_unit: core::option::Option<radroots_core::unit::Unit> 1082 pub radroots_event::farm::resource_cap::ResourceHarvestCap::end: u64 1083 pub radroots_event::farm::resource_cap::ResourceHarvestCap::product: radroots_event::farm::resource_cap::ResourceHarvestProduct 1084 pub radroots_event::farm::resource_cap::ResourceHarvestCap::resource_area: radroots_event::farm::resource_area::ResourceAreaRef 1085 pub radroots_event::farm::resource_cap::ResourceHarvestCap::start: u64 1086 pub radroots_event::farm::resource_cap::ResourceHarvestCap::tags: core::option::Option<alloc::vec::Vec<alloc::string::String>> 1087 pub struct radroots_event::farm::resource_cap::ResourceHarvestProduct 1088 pub radroots_event::farm::resource_cap::ResourceHarvestProduct::category: core::option::Option<alloc::string::String> 1089 pub radroots_event::farm::resource_cap::ResourceHarvestProduct::key: alloc::string::String 1090 pub mod radroots_event::farm::workspace 1091 pub enum radroots_event::farm::workspace::FarmWorkspaceRelayMode 1092 pub radroots_event::farm::workspace::FarmWorkspaceRelayMode::Read 1093 pub radroots_event::farm::workspace::FarmWorkspaceRelayMode::ReadWrite 1094 pub radroots_event::farm::workspace::FarmWorkspaceRelayMode::Write 1095 pub struct radroots_event::farm::workspace::FarmWorkspaceManifest 1096 pub radroots_event::farm::workspace::FarmWorkspaceManifest::created_at_ms: u64 1097 pub radroots_event::farm::workspace::FarmWorkspaceManifest::d_tag: alloc::string::String 1098 pub radroots_event::farm::workspace::FarmWorkspaceManifest::farm: core::option::Option<radroots_event::farm::FarmRef> 1099 pub radroots_event::farm::workspace::FarmWorkspaceManifest::farm_group_id: alloc::string::String 1100 pub radroots_event::farm::workspace::FarmWorkspaceManifest::media_servers: alloc::vec::Vec<radroots_event::farm::workspace::FarmWorkspaceMediaServer> 1101 pub radroots_event::farm::workspace::FarmWorkspaceManifest::name: alloc::string::String 1102 pub radroots_event::farm::workspace::FarmWorkspaceManifest::owner_pubkey: alloc::string::String 1103 pub radroots_event::farm::workspace::FarmWorkspaceManifest::protocol_version: alloc::string::String 1104 pub radroots_event::farm::workspace::FarmWorkspaceManifest::relays: alloc::vec::Vec<radroots_event::farm::workspace::FarmWorkspaceRelay> 1105 pub radroots_event::farm::workspace::FarmWorkspaceManifest::schema: alloc::string::String 1106 pub radroots_event::farm::workspace::FarmWorkspaceManifest::supported_kinds: alloc::vec::Vec<u32> 1107 pub radroots_event::farm::workspace::FarmWorkspaceManifest::updated_at_ms: core::option::Option<u64> 1108 pub struct radroots_event::farm::workspace::FarmWorkspaceMediaServer 1109 pub radroots_event::farm::workspace::FarmWorkspaceMediaServer::service: alloc::string::String 1110 pub radroots_event::farm::workspace::FarmWorkspaceMediaServer::url: alloc::string::String 1111 pub struct radroots_event::farm::workspace::FarmWorkspaceRef 1112 pub radroots_event::farm::workspace::FarmWorkspaceRef::d_tag: alloc::string::String 1113 pub radroots_event::farm::workspace::FarmWorkspaceRef::pubkey: alloc::string::String 1114 pub struct radroots_event::farm::workspace::FarmWorkspaceRelay 1115 pub radroots_event::farm::workspace::FarmWorkspaceRelay::mode: radroots_event::farm::workspace::FarmWorkspaceRelayMode 1116 pub radroots_event::farm::workspace::FarmWorkspaceRelay::url: alloc::string::String 1117 pub const radroots_event::farm::workspace::KIND_FARM_WORKSPACE_MANIFEST: u32 1118 pub const radroots_event::farm::workspace::RADROOTS_FARM_WORKSPACE_PROTOCOL_VERSION: &str 1119 pub const radroots_event::farm::workspace::RADROOTS_FARM_WORKSPACE_SCHEMA: &str 1120 pub const radroots_event::farm::workspace::RADROOTS_FARM_WORKSPACE_TAG: &str 1121 pub struct radroots_event::farm::Farm 1122 pub radroots_event::farm::Farm::about: core::option::Option<alloc::string::String> 1123 pub radroots_event::farm::Farm::banner: core::option::Option<alloc::string::String> 1124 pub radroots_event::farm::Farm::d_tag: alloc::string::String 1125 pub radroots_event::farm::Farm::location: core::option::Option<radroots_event::farm::FarmPublicLocation> 1126 pub radroots_event::farm::Farm::name: alloc::string::String 1127 pub radroots_event::farm::Farm::picture: core::option::Option<alloc::string::String> 1128 pub radroots_event::farm::Farm::tags: core::option::Option<alloc::vec::Vec<alloc::string::String>> 1129 pub radroots_event::farm::Farm::website: core::option::Option<alloc::string::String> 1130 pub struct radroots_event::farm::FarmPublicLocation 1131 pub radroots_event::farm::FarmPublicLocation::city: core::option::Option<alloc::string::String> 1132 pub radroots_event::farm::FarmPublicLocation::country: core::option::Option<alloc::string::String> 1133 pub radroots_event::farm::FarmPublicLocation::geohash: alloc::string::String 1134 pub radroots_event::farm::FarmPublicLocation::primary: alloc::string::String 1135 pub radroots_event::farm::FarmPublicLocation::region: core::option::Option<alloc::string::String> 1136 pub struct radroots_event::farm::FarmRef 1137 pub radroots_event::farm::FarmRef::d_tag: alloc::string::String 1138 pub radroots_event::farm::FarmRef::pubkey: alloc::string::String 1139 pub mod radroots_event::food 1140 pub mod radroots_event::food::availability 1141 #[non_exhaustive] pub enum radroots_event::food::availability::FoodAvailabilityError 1142 pub radroots_event::food::availability::FoodAvailabilityError::ContentMissing 1143 pub radroots_event::food::availability::FoodAvailabilityError::ContentTooLarge 1144 pub radroots_event::food::availability::FoodAvailabilityError::ContentTooLarge::actual: usize 1145 pub radroots_event::food::availability::FoodAvailabilityError::ContentTooLarge::max: usize 1146 pub radroots_event::food::availability::FoodAvailabilityError::IdentifierInvalid 1147 pub radroots_event::food::availability::FoodAvailabilityError::IdentifierTooLarge 1148 pub radroots_event::food::availability::FoodAvailabilityError::IdentifierTooLarge::actual: usize 1149 pub radroots_event::food::availability::FoodAvailabilityError::IdentifierTooLarge::max: usize 1150 pub radroots_event::food::availability::FoodAvailabilityError::ImageCountExceeded 1151 pub radroots_event::food::availability::FoodAvailabilityError::ImageCountExceeded::actual: usize 1152 pub radroots_event::food::availability::FoodAvailabilityError::ImageCountExceeded::max: usize 1153 pub radroots_event::food::availability::FoodAvailabilityError::ImageDimensionsInvalid 1154 pub radroots_event::food::availability::FoodAvailabilityError::ImageDuplicateDigest 1155 pub radroots_event::food::availability::FoodAvailabilityError::ImageDuplicateUrl 1156 pub radroots_event::food::availability::FoodAvailabilityError::PriceCurrencyInvalid 1157 pub radroots_event::food::availability::FoodAvailabilityError::PriceInvalid 1158 pub radroots_event::food::availability::FoodAvailabilityError::PriceUnitInvalid 1159 pub radroots_event::food::availability::FoodAvailabilityError::PublishedAtFuture 1160 pub radroots_event::food::availability::FoodAvailabilityError::PublishedAtFuture::created_at: u64 1161 pub radroots_event::food::availability::FoodAvailabilityError::PublishedAtFuture::published_at: u64 1162 pub radroots_event::food::availability::FoodAvailabilityError::PublishedAtInvalid 1163 pub radroots_event::food::availability::FoodAvailabilityError::QuantityInvalid 1164 pub radroots_event::food::availability::FoodAvailabilityError::QuantityZero 1165 pub radroots_event::food::availability::FoodAvailabilityError::StatusInvalid 1166 pub radroots_event::food::availability::FoodAvailabilityError::TextInvalid 1167 pub radroots_event::food::availability::FoodAvailabilityError::TextTooLarge 1168 pub radroots_event::food::availability::FoodAvailabilityError::TextTooLarge::actual: usize 1169 pub radroots_event::food::availability::FoodAvailabilityError::TextTooLarge::max: usize 1170 impl radroots_event::food::availability::FoodAvailabilityError 1171 pub const fn radroots_event::food::availability::FoodAvailabilityError::code(&self) -> &'static str 1172 impl core::error::Error for radroots_event::food::availability::FoodAvailabilityError 1173 impl core::fmt::Display for radroots_event::food::availability::FoodAvailabilityError 1174 pub fn radroots_event::food::availability::FoodAvailabilityError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 1175 pub enum radroots_event::food::availability::FoodAvailabilityStatus 1176 pub radroots_event::food::availability::FoodAvailabilityStatus::Active 1177 pub radroots_event::food::availability::FoodAvailabilityStatus::Sold 1178 impl radroots_event::food::availability::FoodAvailabilityStatus 1179 pub const fn radroots_event::food::availability::FoodAvailabilityStatus::as_str(self) -> &'static str 1180 pub fn radroots_event::food::availability::FoodAvailabilityStatus::parse(&str) -> core::result::Result<Self, radroots_event::food::availability::FoodAvailabilityError> 1181 impl core::fmt::Display for radroots_event::food::availability::FoodAvailabilityStatus 1182 pub fn radroots_event::food::availability::FoodAvailabilityStatus::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 1183 impl core::str::traits::FromStr for radroots_event::food::availability::FoodAvailabilityStatus 1184 pub type radroots_event::food::availability::FoodAvailabilityStatus::Err = radroots_event::food::availability::FoodAvailabilityError 1185 pub fn radroots_event::food::availability::FoodAvailabilityStatus::from_str(&str) -> core::result::Result<Self, Self::Err> 1186 pub enum radroots_event::food::availability::FoodUnit 1187 pub radroots_event::food::availability::FoodUnit::Bag 1188 pub radroots_event::food::availability::FoodUnit::Basket 1189 pub radroots_event::food::availability::FoodUnit::Bunch 1190 pub radroots_event::food::availability::FoodUnit::Dozen 1191 pub radroots_event::food::availability::FoodUnit::Each 1192 pub radroots_event::food::availability::FoodUnit::Gram 1193 pub radroots_event::food::availability::FoodUnit::Kilogram 1194 pub radroots_event::food::availability::FoodUnit::Ounce 1195 pub radroots_event::food::availability::FoodUnit::Pound 1196 pub radroots_event::food::availability::FoodUnit::Punnet 1197 impl radroots_event::food::availability::FoodUnit 1198 pub const fn radroots_event::food::availability::FoodUnit::as_str(self) -> &'static str 1199 pub fn radroots_event::food::availability::FoodUnit::parse(&str) -> core::result::Result<Self, radroots_event::food::availability::FoodAvailabilityError> 1200 impl core::fmt::Display for radroots_event::food::availability::FoodUnit 1201 pub fn radroots_event::food::availability::FoodUnit::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 1202 impl core::str::traits::FromStr for radroots_event::food::availability::FoodUnit 1203 pub type radroots_event::food::availability::FoodUnit::Err = radroots_event::food::availability::FoodAvailabilityError 1204 pub fn radroots_event::food::availability::FoodUnit::from_str(&str) -> core::result::Result<Self, Self::Err> 1205 pub struct radroots_event::food::availability::FoodAvailabilityDetails 1206 impl radroots_event::food::availability::FoodAvailabilityDetails 1207 pub fn radroots_event::food::availability::FoodAvailabilityDetails::content(&self) -> &radroots_event::food::availability::FoodContent 1208 pub fn radroots_event::food::availability::FoodAvailabilityDetails::identifier(&self) -> &radroots_event::food::availability::FoodIdentifier 1209 pub fn radroots_event::food::availability::FoodAvailabilityDetails::images(&self) -> &[radroots_event::food::availability::FoodAvailabilityImage] 1210 pub fn radroots_event::food::availability::FoodAvailabilityDetails::location(&self) -> &radroots_event::food::availability::FoodText 1211 pub fn radroots_event::food::availability::FoodAvailabilityDetails::new(radroots_event::food::availability::FoodAvailabilityDetailsParts) -> core::result::Result<Self, radroots_event::food::availability::FoodAvailabilityError> 1212 pub fn radroots_event::food::availability::FoodAvailabilityDetails::price(&self) -> &radroots_event::food::availability::FoodPrice 1213 pub const fn radroots_event::food::availability::FoodAvailabilityDetails::published_at(&self) -> radroots_event::food::availability::FoodPublishedAt 1214 pub fn radroots_event::food::availability::FoodAvailabilityDetails::quantity(&self) -> core::option::Option<&radroots_event::food::availability::FoodQuantity> 1215 pub const fn radroots_event::food::availability::FoodAvailabilityDetails::status(&self) -> radroots_event::food::availability::FoodAvailabilityStatus 1216 pub fn radroots_event::food::availability::FoodAvailabilityDetails::summary(&self) -> &radroots_event::food::availability::FoodText 1217 pub fn radroots_event::food::availability::FoodAvailabilityDetails::title(&self) -> &radroots_event::food::availability::FoodText 1218 pub fn radroots_event::food::availability::FoodAvailabilityDetails::validate_created_at(&self, u64) -> core::result::Result<(), radroots_event::food::availability::FoodAvailabilityError> 1219 pub struct radroots_event::food::availability::FoodAvailabilityDetailsParts 1220 pub radroots_event::food::availability::FoodAvailabilityDetailsParts::content: radroots_event::food::availability::FoodContent 1221 pub radroots_event::food::availability::FoodAvailabilityDetailsParts::identifier: radroots_event::food::availability::FoodIdentifier 1222 pub radroots_event::food::availability::FoodAvailabilityDetailsParts::images: alloc::vec::Vec<radroots_event::food::availability::FoodAvailabilityImage> 1223 pub radroots_event::food::availability::FoodAvailabilityDetailsParts::location: radroots_event::food::availability::FoodText 1224 pub radroots_event::food::availability::FoodAvailabilityDetailsParts::price: radroots_event::food::availability::FoodPrice 1225 pub radroots_event::food::availability::FoodAvailabilityDetailsParts::published_at: radroots_event::food::availability::FoodPublishedAt 1226 pub radroots_event::food::availability::FoodAvailabilityDetailsParts::quantity: core::option::Option<radroots_event::food::availability::FoodQuantity> 1227 pub radroots_event::food::availability::FoodAvailabilityDetailsParts::status: radroots_event::food::availability::FoodAvailabilityStatus 1228 pub radroots_event::food::availability::FoodAvailabilityDetailsParts::summary: radroots_event::food::availability::FoodText 1229 pub radroots_event::food::availability::FoodAvailabilityDetailsParts::title: radroots_event::food::availability::FoodText 1230 pub struct radroots_event::food::availability::FoodAvailabilityImage 1231 impl radroots_event::food::availability::FoodAvailabilityImage 1232 pub const fn radroots_event::food::availability::FoodAvailabilityImage::dimensions(&self) -> radroots_event::food::availability::FoodImageDimensions 1233 pub fn radroots_event::food::availability::FoodAvailabilityImage::image(&self) -> &radroots_event::media::AuthoredImage 1234 pub const fn radroots_event::food::availability::FoodAvailabilityImage::new(radroots_event::media::AuthoredImage, radroots_event::food::availability::FoodImageDimensions) -> Self 1235 pub fn radroots_event::food::availability::FoodAvailabilityImage::url(&self) -> &str 1236 pub struct radroots_event::food::availability::FoodContent(_) 1237 impl radroots_event::food::availability::FoodContent 1238 pub fn radroots_event::food::availability::FoodContent::as_str(&self) -> &str 1239 pub fn radroots_event::food::availability::FoodContent::into_string(self) -> alloc::string::String 1240 pub fn radroots_event::food::availability::FoodContent::new(impl core::convert::Into<alloc::string::String>) -> core::result::Result<Self, radroots_event::food::availability::FoodAvailabilityError> 1241 impl core::convert::AsRef<str> for radroots_event::food::availability::FoodContent 1242 pub fn radroots_event::food::availability::FoodContent::as_ref(&self) -> &str 1243 impl core::fmt::Display for radroots_event::food::availability::FoodContent 1244 pub fn radroots_event::food::availability::FoodContent::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 1245 pub struct radroots_event::food::availability::FoodCurrency(_) 1246 impl radroots_event::food::availability::FoodCurrency 1247 pub fn radroots_event::food::availability::FoodCurrency::as_str(&self) -> &str 1248 pub fn radroots_event::food::availability::FoodCurrency::into_string(self) -> alloc::string::String 1249 pub fn radroots_event::food::availability::FoodCurrency::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_event::food::availability::FoodAvailabilityError> 1250 impl core::convert::AsRef<str> for radroots_event::food::availability::FoodCurrency 1251 pub fn radroots_event::food::availability::FoodCurrency::as_ref(&self) -> &str 1252 impl core::fmt::Display for radroots_event::food::availability::FoodCurrency 1253 pub fn radroots_event::food::availability::FoodCurrency::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 1254 impl core::str::traits::FromStr for radroots_event::food::availability::FoodCurrency 1255 pub type radroots_event::food::availability::FoodCurrency::Err = radroots_event::food::availability::FoodAvailabilityError 1256 pub fn radroots_event::food::availability::FoodCurrency::from_str(&str) -> core::result::Result<Self, Self::Err> 1257 pub struct radroots_event::food::availability::FoodIdentifier(_) 1258 impl radroots_event::food::availability::FoodIdentifier 1259 pub fn radroots_event::food::availability::FoodIdentifier::as_str(&self) -> &str 1260 pub fn radroots_event::food::availability::FoodIdentifier::into_string(self) -> alloc::string::String 1261 pub fn radroots_event::food::availability::FoodIdentifier::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_event::food::availability::FoodAvailabilityError> 1262 impl core::convert::AsRef<str> for radroots_event::food::availability::FoodIdentifier 1263 pub fn radroots_event::food::availability::FoodIdentifier::as_ref(&self) -> &str 1264 impl core::fmt::Display for radroots_event::food::availability::FoodIdentifier 1265 pub fn radroots_event::food::availability::FoodIdentifier::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 1266 impl core::str::traits::FromStr for radroots_event::food::availability::FoodIdentifier 1267 pub type radroots_event::food::availability::FoodIdentifier::Err = radroots_event::food::availability::FoodAvailabilityError 1268 pub fn radroots_event::food::availability::FoodIdentifier::from_str(&str) -> core::result::Result<Self, Self::Err> 1269 pub struct radroots_event::food::availability::FoodImageDimensions 1270 impl radroots_event::food::availability::FoodImageDimensions 1271 pub const fn radroots_event::food::availability::FoodImageDimensions::height(self) -> u32 1272 pub const fn radroots_event::food::availability::FoodImageDimensions::new(u32, u32) -> core::result::Result<Self, radroots_event::food::availability::FoodAvailabilityError> 1273 pub fn radroots_event::food::availability::FoodImageDimensions::parse(&str) -> core::result::Result<Self, radroots_event::food::availability::FoodAvailabilityError> 1274 pub const fn radroots_event::food::availability::FoodImageDimensions::width(self) -> u32 1275 impl core::fmt::Display for radroots_event::food::availability::FoodImageDimensions 1276 pub fn radroots_event::food::availability::FoodImageDimensions::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 1277 impl core::str::traits::FromStr for radroots_event::food::availability::FoodImageDimensions 1278 pub type radroots_event::food::availability::FoodImageDimensions::Err = radroots_event::food::availability::FoodAvailabilityError 1279 pub fn radroots_event::food::availability::FoodImageDimensions::from_str(&str) -> core::result::Result<Self, Self::Err> 1280 pub struct radroots_event::food::availability::FoodPrice 1281 impl radroots_event::food::availability::FoodPrice 1282 pub fn radroots_event::food::availability::FoodPrice::amount(&self) -> &str 1283 pub fn radroots_event::food::availability::FoodPrice::currency(&self) -> &radroots_event::food::availability::FoodCurrency 1284 pub fn radroots_event::food::availability::FoodPrice::new(impl core::convert::Into<alloc::string::String>, radroots_event::food::availability::FoodCurrency, radroots_event::food::availability::FoodUnit) -> core::result::Result<Self, radroots_event::food::availability::FoodAvailabilityError> 1285 pub const fn radroots_event::food::availability::FoodPrice::unit(&self) -> radroots_event::food::availability::FoodUnit 1286 pub struct radroots_event::food::availability::FoodPublishedAt(_) 1287 impl radroots_event::food::availability::FoodPublishedAt 1288 pub const fn radroots_event::food::availability::FoodPublishedAt::as_u64(self) -> u64 1289 pub const fn radroots_event::food::availability::FoodPublishedAt::new(u64) -> core::result::Result<Self, radroots_event::food::availability::FoodAvailabilityError> 1290 pub fn radroots_event::food::availability::FoodPublishedAt::parse(&str) -> core::result::Result<Self, radroots_event::food::availability::FoodAvailabilityError> 1291 pub const fn radroots_event::food::availability::FoodPublishedAt::validate_created_at(self, u64) -> core::result::Result<(), radroots_event::food::availability::FoodAvailabilityError> 1292 impl core::fmt::Display for radroots_event::food::availability::FoodPublishedAt 1293 pub fn radroots_event::food::availability::FoodPublishedAt::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 1294 impl core::str::traits::FromStr for radroots_event::food::availability::FoodPublishedAt 1295 pub type radroots_event::food::availability::FoodPublishedAt::Err = radroots_event::food::availability::FoodAvailabilityError 1296 pub fn radroots_event::food::availability::FoodPublishedAt::from_str(&str) -> core::result::Result<Self, Self::Err> 1297 pub struct radroots_event::food::availability::FoodQuantity 1298 impl radroots_event::food::availability::FoodQuantity 1299 pub fn radroots_event::food::availability::FoodQuantity::amount(&self) -> &str 1300 pub fn radroots_event::food::availability::FoodQuantity::new(impl core::convert::Into<alloc::string::String>, radroots_event::food::availability::FoodUnit) -> core::result::Result<Self, radroots_event::food::availability::FoodAvailabilityError> 1301 pub const fn radroots_event::food::availability::FoodQuantity::unit(&self) -> radroots_event::food::availability::FoodUnit 1302 pub struct radroots_event::food::availability::FoodText(_) 1303 impl radroots_event::food::availability::FoodText 1304 pub fn radroots_event::food::availability::FoodText::as_str(&self) -> &str 1305 pub fn radroots_event::food::availability::FoodText::into_string(self) -> alloc::string::String 1306 pub fn radroots_event::food::availability::FoodText::new(impl core::convert::Into<alloc::string::String>) -> core::result::Result<Self, radroots_event::food::availability::FoodAvailabilityError> 1307 impl core::convert::AsRef<str> for radroots_event::food::availability::FoodText 1308 pub fn radroots_event::food::availability::FoodText::as_ref(&self) -> &str 1309 impl core::fmt::Display for radroots_event::food::availability::FoodText 1310 pub fn radroots_event::food::availability::FoodText::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 1311 pub const radroots_event::food::availability::RADROOTS_FOOD_AVAILABILITY_CONTRACT_ID: &str 1312 pub const radroots_event::food::availability::RADROOTS_FOOD_CONTENT_MAX_BYTES: usize 1313 pub const radroots_event::food::availability::RADROOTS_FOOD_DECIMAL_MAX_DIGITS: usize 1314 pub const radroots_event::food::availability::RADROOTS_FOOD_IDENTIFIER_MAX_BYTES: usize 1315 pub const radroots_event::food::availability::RADROOTS_FOOD_IMAGE_MAX_COUNT: usize 1316 pub const radroots_event::food::availability::RADROOTS_FOOD_TEXT_MAX_BYTES: usize 1317 pub fn radroots_event::food::availability::food_media_blossom_digest(&str) -> core::option::Option<radroots_blossom::hash::Sha256> 1318 pub fn radroots_event::food::availability::food_media_http_url_is_valid(&str) -> bool 1319 pub mod radroots_event::generic_draft 1320 pub struct radroots_event::generic_draft::GenericEventDraft 1321 impl radroots_event::generic_draft::GenericEventDraft 1322 pub fn radroots_event::generic_draft::GenericEventDraft::content(&self) -> &str 1323 pub const fn radroots_event::generic_draft::GenericEventDraft::contract(&self) -> &radroots_event::contract::ContractKey 1324 pub fn radroots_event::generic_draft::GenericEventDraft::contract_id(&self) -> &str 1325 pub const fn radroots_event::generic_draft::GenericEventDraft::created_at(&self) -> radroots_event::envelope::EventTimestamp 1326 pub const fn radroots_event::generic_draft::GenericEventDraft::created_at_u64(&self) -> u64 1327 pub const fn radroots_event::generic_draft::GenericEventDraft::expected_event_id(&self) -> &radroots_event::id::EventId 1328 pub fn radroots_event::generic_draft::GenericEventDraft::expected_event_id_hex(&self) -> alloc::string::String 1329 pub const fn radroots_event::generic_draft::GenericEventDraft::expected_pubkey(&self) -> &radroots_identity::key::PublicKey 1330 pub const fn radroots_event::generic_draft::GenericEventDraft::kind(&self) -> radroots_event::envelope::EventKind 1331 pub const fn radroots_event::generic_draft::GenericEventDraft::kind_u32(&self) -> u32 1332 pub fn radroots_event::generic_draft::GenericEventDraft::new(impl core::convert::Into<alloc::string::String>, u32, u64, alloc::vec::Vec<alloc::vec::Vec<alloc::string::String>>, impl core::convert::Into<alloc::string::String>, impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_event::draft::DraftError> 1333 pub fn radroots_event::generic_draft::GenericEventDraft::nip01_preimage(&self) -> core::result::Result<alloc::string::String, radroots_event::draft::DraftError> 1334 pub const fn radroots_event::generic_draft::GenericEventDraft::tags(&self) -> &radroots_event::envelope::EventTags 1335 pub fn radroots_event::generic_draft::GenericEventDraft::tags_as_vec(&self) -> alloc::vec::Vec<alloc::vec::Vec<alloc::string::String>> 1336 pub fn radroots_event::generic_draft::GenericEventDraft::validate_for_authoring(&self) -> core::result::Result<(), radroots_event::draft::DraftError> 1337 impl<'de> serde_core::de::Deserialize<'de> for radroots_event::generic_draft::GenericEventDraft 1338 pub fn radroots_event::generic_draft::GenericEventDraft::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 1339 pub mod radroots_event::id 1340 #[non_exhaustive] pub enum radroots_event::id::Nip01CoordinateParseError 1341 pub radroots_event::id::Nip01CoordinateParseError::Empty 1342 pub radroots_event::id::Nip01CoordinateParseError::IdentifierMustBeEmpty 1343 pub radroots_event::id::Nip01CoordinateParseError::IdentifierMustBeEmpty::kind: u32 1344 pub radroots_event::id::Nip01CoordinateParseError::InvalidFormat 1345 pub radroots_event::id::Nip01CoordinateParseError::Pubkey(radroots_event::id::ParseError) 1346 pub radroots_event::id::Nip01CoordinateParseError::TooLong 1347 pub radroots_event::id::Nip01CoordinateParseError::TooLong::actual: usize 1348 pub radroots_event::id::Nip01CoordinateParseError::TooLong::max: usize 1349 pub radroots_event::id::Nip01CoordinateParseError::UnsupportedKind 1350 pub radroots_event::id::Nip01CoordinateParseError::UnsupportedKind::actual: u32 1351 impl core::error::Error for radroots_event::id::Nip01CoordinateParseError 1352 pub fn radroots_event::id::Nip01CoordinateParseError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)> 1353 impl core::fmt::Display for radroots_event::id::Nip01CoordinateParseError 1354 pub fn radroots_event::id::Nip01CoordinateParseError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 1355 pub enum radroots_event::id::ParseError 1356 pub radroots_event::id::ParseError::Empty 1357 pub radroots_event::id::ParseError::InvalidCharacter 1358 pub radroots_event::id::ParseError::InvalidFormat 1359 pub radroots_event::id::ParseError::InvalidLength 1360 pub radroots_event::id::ParseError::InvalidLength::actual: usize 1361 pub radroots_event::id::ParseError::InvalidLength::expected: usize 1362 pub radroots_event::id::ParseError::InvalidPublicKey 1363 pub radroots_event::id::ParseError::TooLong 1364 pub radroots_event::id::ParseError::TooLong::actual: usize 1365 pub radroots_event::id::ParseError::TooLong::max: usize 1366 pub radroots_event::id::ParseError::UnexpectedKind 1367 pub radroots_event::id::ParseError::UnexpectedKind::actual: u32 1368 pub radroots_event::id::ParseError::UnexpectedKind::expected: u32 1369 impl core::convert::From<radroots_event::id::ParseError> for radroots_event::draft::DraftError 1370 pub fn radroots_event::draft::DraftError::from(radroots_event::id::ParseError) -> Self 1371 impl core::error::Error for radroots_event::id::ParseError 1372 impl core::fmt::Display for radroots_event::id::ParseError 1373 pub fn radroots_event::id::ParseError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 1374 pub struct radroots_event::id::AddressableCoordinate(_) 1375 impl radroots_event::id::AddressableCoordinate 1376 pub fn radroots_event::id::AddressableCoordinate::as_str(&self) -> &str 1377 pub fn radroots_event::id::AddressableCoordinate::into_string(self) -> alloc::string::String 1378 pub fn radroots_event::id::AddressableCoordinate::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_event::id::ParseError> 1379 impl core::convert::AsRef<str> for radroots_event::id::AddressableCoordinate 1380 pub fn radroots_event::id::AddressableCoordinate::as_ref(&self) -> &str 1381 impl core::convert::From<radroots_event::id::AddressableCoordinate> for alloc::string::String 1382 pub fn alloc::string::String::from(radroots_event::id::AddressableCoordinate) -> Self 1383 impl core::convert::TryFrom<&str> for radroots_event::id::AddressableCoordinate 1384 pub type radroots_event::id::AddressableCoordinate::Error = radroots_event::id::ParseError 1385 pub fn radroots_event::id::AddressableCoordinate::try_from(&str) -> core::result::Result<Self, Self::Error> 1386 impl core::convert::TryFrom<alloc::string::String> for radroots_event::id::AddressableCoordinate 1387 pub type radroots_event::id::AddressableCoordinate::Error = radroots_event::id::ParseError 1388 pub fn radroots_event::id::AddressableCoordinate::try_from(alloc::string::String) -> core::result::Result<Self, Self::Error> 1389 impl core::fmt::Display for radroots_event::id::AddressableCoordinate 1390 pub fn radroots_event::id::AddressableCoordinate::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 1391 impl core::str::traits::FromStr for radroots_event::id::AddressableCoordinate 1392 pub type radroots_event::id::AddressableCoordinate::Err = radroots_event::id::ParseError 1393 pub fn radroots_event::id::AddressableCoordinate::from_str(&str) -> core::result::Result<Self, Self::Err> 1394 impl serde_core::ser::Serialize for radroots_event::id::AddressableCoordinate 1395 pub fn radroots_event::id::AddressableCoordinate::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 1396 impl<'de> serde_core::de::Deserialize<'de> for radroots_event::id::AddressableCoordinate 1397 pub fn radroots_event::id::AddressableCoordinate::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 1398 pub struct radroots_event::id::AddressableCoordinateParts 1399 pub radroots_event::id::AddressableCoordinateParts::d_tag: radroots_event::id::DTag 1400 pub radroots_event::id::AddressableCoordinateParts::kind: u32 1401 pub radroots_event::id::AddressableCoordinateParts::pubkey: radroots_identity::key::PublicKey 1402 impl radroots_event::id::AddressableCoordinateParts 1403 pub fn radroots_event::id::AddressableCoordinateParts::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_event::id::ParseError> 1404 pub struct radroots_event::id::CandidateId(_) 1405 impl radroots_event::id::CandidateId 1406 pub const fn radroots_event::id::CandidateId::as_bytes(&self) -> &[u8; 32] 1407 pub const fn radroots_event::id::CandidateId::from_bytes([u8; 32]) -> Self 1408 pub const fn radroots_event::id::CandidateId::into_bytes(self) -> [u8; 32] 1409 pub fn radroots_event::id::CandidateId::into_string(self) -> alloc::string::String 1410 pub fn radroots_event::id::CandidateId::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_event::id::ParseError> 1411 pub fn radroots_event::id::CandidateId::to_hex(&self) -> alloc::string::String 1412 impl core::convert::AsRef<[u8]> for radroots_event::id::CandidateId 1413 pub fn radroots_event::id::CandidateId::as_ref(&self) -> &[u8] 1414 impl core::convert::From<[u8; 32]> for radroots_event::id::CandidateId 1415 pub fn radroots_event::id::CandidateId::from([u8; 32]) -> Self 1416 impl core::convert::From<radroots_event::id::CandidateId> for [u8; 32] 1417 pub fn [u8; 32]::from(radroots_event::id::CandidateId) -> Self 1418 impl core::convert::TryFrom<&str> for radroots_event::id::CandidateId 1419 pub type radroots_event::id::CandidateId::Error = radroots_event::id::ParseError 1420 pub fn radroots_event::id::CandidateId::try_from(&str) -> core::result::Result<Self, Self::Error> 1421 impl core::convert::TryFrom<alloc::string::String> for radroots_event::id::CandidateId 1422 pub type radroots_event::id::CandidateId::Error = radroots_event::id::ParseError 1423 pub fn radroots_event::id::CandidateId::try_from(alloc::string::String) -> core::result::Result<Self, Self::Error> 1424 impl core::fmt::Display for radroots_event::id::CandidateId 1425 pub fn radroots_event::id::CandidateId::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 1426 impl core::str::traits::FromStr for radroots_event::id::CandidateId 1427 pub type radroots_event::id::CandidateId::Err = radroots_event::id::ParseError 1428 pub fn radroots_event::id::CandidateId::from_str(&str) -> core::result::Result<Self, Self::Err> 1429 impl serde_core::ser::Serialize for radroots_event::id::CandidateId 1430 pub fn radroots_event::id::CandidateId::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 1431 impl<'de> serde_core::de::Deserialize<'de> for radroots_event::id::CandidateId 1432 pub fn radroots_event::id::CandidateId::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 1433 pub struct radroots_event::id::ClassifiedListingAddress(_) 1434 impl radroots_event::id::ClassifiedListingAddress 1435 pub fn radroots_event::id::ClassifiedListingAddress::as_str(&self) -> &str 1436 pub fn radroots_event::id::ClassifiedListingAddress::into_string(self) -> alloc::string::String 1437 pub fn radroots_event::id::ClassifiedListingAddress::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_event::id::ParseError> 1438 impl core::convert::AsRef<str> for radroots_event::id::ClassifiedListingAddress 1439 pub fn radroots_event::id::ClassifiedListingAddress::as_ref(&self) -> &str 1440 impl core::convert::From<radroots_event::id::ClassifiedListingAddress> for alloc::string::String 1441 pub fn alloc::string::String::from(radroots_event::id::ClassifiedListingAddress) -> Self 1442 impl core::convert::TryFrom<&str> for radroots_event::id::ClassifiedListingAddress 1443 pub type radroots_event::id::ClassifiedListingAddress::Error = radroots_event::id::ParseError 1444 pub fn radroots_event::id::ClassifiedListingAddress::try_from(&str) -> core::result::Result<Self, Self::Error> 1445 impl core::convert::TryFrom<alloc::string::String> for radroots_event::id::ClassifiedListingAddress 1446 pub type radroots_event::id::ClassifiedListingAddress::Error = radroots_event::id::ParseError 1447 pub fn radroots_event::id::ClassifiedListingAddress::try_from(alloc::string::String) -> core::result::Result<Self, Self::Error> 1448 impl core::fmt::Display for radroots_event::id::ClassifiedListingAddress 1449 pub fn radroots_event::id::ClassifiedListingAddress::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 1450 impl core::str::traits::FromStr for radroots_event::id::ClassifiedListingAddress 1451 pub type radroots_event::id::ClassifiedListingAddress::Err = radroots_event::id::ParseError 1452 pub fn radroots_event::id::ClassifiedListingAddress::from_str(&str) -> core::result::Result<Self, Self::Err> 1453 impl serde_core::ser::Serialize for radroots_event::id::ClassifiedListingAddress 1454 pub fn radroots_event::id::ClassifiedListingAddress::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 1455 impl<'de> serde_core::de::Deserialize<'de> for radroots_event::id::ClassifiedListingAddress 1456 pub fn radroots_event::id::ClassifiedListingAddress::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 1457 pub struct radroots_event::id::DTag(_) 1458 impl radroots_event::id::DTag 1459 pub fn radroots_event::id::DTag::as_str(&self) -> &str 1460 pub fn radroots_event::id::DTag::into_string(self) -> alloc::string::String 1461 pub fn radroots_event::id::DTag::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_event::id::ParseError> 1462 impl core::convert::AsRef<str> for radroots_event::id::DTag 1463 pub fn radroots_event::id::DTag::as_ref(&self) -> &str 1464 impl core::convert::From<radroots_event::id::DTag> for alloc::string::String 1465 pub fn alloc::string::String::from(radroots_event::id::DTag) -> Self 1466 impl core::convert::TryFrom<&str> for radroots_event::id::DTag 1467 pub type radroots_event::id::DTag::Error = radroots_event::id::ParseError 1468 pub fn radroots_event::id::DTag::try_from(&str) -> core::result::Result<Self, Self::Error> 1469 impl core::convert::TryFrom<alloc::string::String> for radroots_event::id::DTag 1470 pub type radroots_event::id::DTag::Error = radroots_event::id::ParseError 1471 pub fn radroots_event::id::DTag::try_from(alloc::string::String) -> core::result::Result<Self, Self::Error> 1472 impl core::fmt::Display for radroots_event::id::DTag 1473 pub fn radroots_event::id::DTag::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 1474 impl core::str::traits::FromStr for radroots_event::id::DTag 1475 pub type radroots_event::id::DTag::Err = radroots_event::id::ParseError 1476 pub fn radroots_event::id::DTag::from_str(&str) -> core::result::Result<Self, Self::Err> 1477 impl serde_core::ser::Serialize for radroots_event::id::DTag 1478 pub fn radroots_event::id::DTag::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 1479 impl<'de> serde_core::de::Deserialize<'de> for radroots_event::id::DTag 1480 pub fn radroots_event::id::DTag::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 1481 pub struct radroots_event::id::EconomicsDigest(_) 1482 impl radroots_event::id::EconomicsDigest 1483 pub fn radroots_event::id::EconomicsDigest::as_str(&self) -> &str 1484 pub fn radroots_event::id::EconomicsDigest::into_string(self) -> alloc::string::String 1485 pub fn radroots_event::id::EconomicsDigest::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_event::id::ParseError> 1486 impl core::convert::AsRef<str> for radroots_event::id::EconomicsDigest 1487 pub fn radroots_event::id::EconomicsDigest::as_ref(&self) -> &str 1488 impl core::convert::From<radroots_event::id::EconomicsDigest> for alloc::string::String 1489 pub fn alloc::string::String::from(radroots_event::id::EconomicsDigest) -> Self 1490 impl core::convert::TryFrom<&str> for radroots_event::id::EconomicsDigest 1491 pub type radroots_event::id::EconomicsDigest::Error = radroots_event::id::ParseError 1492 pub fn radroots_event::id::EconomicsDigest::try_from(&str) -> core::result::Result<Self, Self::Error> 1493 impl core::convert::TryFrom<alloc::string::String> for radroots_event::id::EconomicsDigest 1494 pub type radroots_event::id::EconomicsDigest::Error = radroots_event::id::ParseError 1495 pub fn radroots_event::id::EconomicsDigest::try_from(alloc::string::String) -> core::result::Result<Self, Self::Error> 1496 impl core::fmt::Display for radroots_event::id::EconomicsDigest 1497 pub fn radroots_event::id::EconomicsDigest::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 1498 impl core::str::traits::FromStr for radroots_event::id::EconomicsDigest 1499 pub type radroots_event::id::EconomicsDigest::Err = radroots_event::id::ParseError 1500 pub fn radroots_event::id::EconomicsDigest::from_str(&str) -> core::result::Result<Self, Self::Err> 1501 impl serde_core::ser::Serialize for radroots_event::id::EconomicsDigest 1502 pub fn radroots_event::id::EconomicsDigest::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 1503 impl<'de> serde_core::de::Deserialize<'de> for radroots_event::id::EconomicsDigest 1504 pub fn radroots_event::id::EconomicsDigest::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 1505 pub struct radroots_event::id::EventEnvelopePointer 1506 pub radroots_event::id::EventEnvelopePointer::event_id: radroots_event::id::EventId 1507 pub radroots_event::id::EventEnvelopePointer::relays: alloc::vec::Vec<alloc::string::String> 1508 impl radroots_event::id::EventEnvelopePointer 1509 pub fn radroots_event::id::EventEnvelopePointer::new<I, S>(radroots_event::id::EventId, I) -> core::result::Result<Self, radroots_event::id::ParseError> where I: core::iter::traits::collect::IntoIterator<Item = S>, S: core::convert::Into<alloc::string::String> 1510 pub struct radroots_event::id::EventId(_) 1511 impl radroots_event::id::EventId 1512 pub const fn radroots_event::id::EventId::as_bytes(&self) -> &[u8; 32] 1513 pub const fn radroots_event::id::EventId::from_bytes([u8; 32]) -> Self 1514 pub const fn radroots_event::id::EventId::into_bytes(self) -> [u8; 32] 1515 pub fn radroots_event::id::EventId::into_string(self) -> alloc::string::String 1516 pub fn radroots_event::id::EventId::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_event::id::ParseError> 1517 pub fn radroots_event::id::EventId::to_hex(&self) -> alloc::string::String 1518 impl core::convert::AsRef<[u8]> for radroots_event::id::EventId 1519 pub fn radroots_event::id::EventId::as_ref(&self) -> &[u8] 1520 impl core::convert::From<[u8; 32]> for radroots_event::id::EventId 1521 pub fn radroots_event::id::EventId::from([u8; 32]) -> Self 1522 impl core::convert::From<radroots_event::id::EventId> for [u8; 32] 1523 pub fn [u8; 32]::from(radroots_event::id::EventId) -> Self 1524 impl core::convert::TryFrom<&str> for radroots_event::id::EventId 1525 pub type radroots_event::id::EventId::Error = radroots_event::id::ParseError 1526 pub fn radroots_event::id::EventId::try_from(&str) -> core::result::Result<Self, Self::Error> 1527 impl core::convert::TryFrom<alloc::string::String> for radroots_event::id::EventId 1528 pub type radroots_event::id::EventId::Error = radroots_event::id::ParseError 1529 pub fn radroots_event::id::EventId::try_from(alloc::string::String) -> core::result::Result<Self, Self::Error> 1530 impl core::fmt::Display for radroots_event::id::EventId 1531 pub fn radroots_event::id::EventId::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 1532 impl core::str::traits::FromStr for radroots_event::id::EventId 1533 pub type radroots_event::id::EventId::Err = radroots_event::id::ParseError 1534 pub fn radroots_event::id::EventId::from_str(&str) -> core::result::Result<Self, Self::Err> 1535 impl serde_core::ser::Serialize for radroots_event::id::EventId 1536 pub fn radroots_event::id::EventId::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 1537 impl<'de> serde_core::de::Deserialize<'de> for radroots_event::id::EventId 1538 pub fn radroots_event::id::EventId::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 1539 pub struct radroots_event::id::EventPointer(_) 1540 impl radroots_event::id::EventPointer 1541 pub const fn radroots_event::id::EventPointer::as_bytes(&self) -> &[u8; 32] 1542 pub const fn radroots_event::id::EventPointer::from_bytes([u8; 32]) -> Self 1543 pub const fn radroots_event::id::EventPointer::into_bytes(self) -> [u8; 32] 1544 pub fn radroots_event::id::EventPointer::into_string(self) -> alloc::string::String 1545 pub fn radroots_event::id::EventPointer::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_event::id::ParseError> 1546 pub fn radroots_event::id::EventPointer::to_hex(&self) -> alloc::string::String 1547 impl core::convert::AsRef<[u8]> for radroots_event::id::EventPointer 1548 pub fn radroots_event::id::EventPointer::as_ref(&self) -> &[u8] 1549 impl core::convert::From<[u8; 32]> for radroots_event::id::EventPointer 1550 pub fn radroots_event::id::EventPointer::from([u8; 32]) -> Self 1551 impl core::convert::From<radroots_event::id::EventPointer> for [u8; 32] 1552 pub fn [u8; 32]::from(radroots_event::id::EventPointer) -> Self 1553 impl core::convert::TryFrom<&str> for radroots_event::id::EventPointer 1554 pub type radroots_event::id::EventPointer::Error = radroots_event::id::ParseError 1555 pub fn radroots_event::id::EventPointer::try_from(&str) -> core::result::Result<Self, Self::Error> 1556 impl core::convert::TryFrom<alloc::string::String> for radroots_event::id::EventPointer 1557 pub type radroots_event::id::EventPointer::Error = radroots_event::id::ParseError 1558 pub fn radroots_event::id::EventPointer::try_from(alloc::string::String) -> core::result::Result<Self, Self::Error> 1559 impl core::fmt::Display for radroots_event::id::EventPointer 1560 pub fn radroots_event::id::EventPointer::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 1561 impl core::str::traits::FromStr for radroots_event::id::EventPointer 1562 pub type radroots_event::id::EventPointer::Err = radroots_event::id::ParseError 1563 pub fn radroots_event::id::EventPointer::from_str(&str) -> core::result::Result<Self, Self::Err> 1564 impl serde_core::ser::Serialize for radroots_event::id::EventPointer 1565 pub fn radroots_event::id::EventPointer::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 1566 impl<'de> serde_core::de::Deserialize<'de> for radroots_event::id::EventPointer 1567 pub fn radroots_event::id::EventPointer::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 1568 pub struct radroots_event::id::EventSignature(_) 1569 impl radroots_event::id::EventSignature 1570 pub const fn radroots_event::id::EventSignature::as_bytes(&self) -> &[u8; 64] 1571 pub const fn radroots_event::id::EventSignature::from_bytes([u8; 64]) -> Self 1572 pub const fn radroots_event::id::EventSignature::into_bytes(self) -> [u8; 64] 1573 pub fn radroots_event::id::EventSignature::into_string(self) -> alloc::string::String 1574 pub fn radroots_event::id::EventSignature::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_event::id::ParseError> 1575 pub fn radroots_event::id::EventSignature::to_hex(&self) -> alloc::string::String 1576 impl core::convert::AsRef<[u8]> for radroots_event::id::EventSignature 1577 pub fn radroots_event::id::EventSignature::as_ref(&self) -> &[u8] 1578 impl core::convert::From<[u8; 64]> for radroots_event::id::EventSignature 1579 pub fn radroots_event::id::EventSignature::from([u8; 64]) -> Self 1580 impl core::convert::From<radroots_event::id::EventSignature> for [u8; 64] 1581 pub fn [u8; 64]::from(radroots_event::id::EventSignature) -> Self 1582 impl core::convert::TryFrom<&str> for radroots_event::id::EventSignature 1583 pub type radroots_event::id::EventSignature::Error = radroots_event::id::ParseError 1584 pub fn radroots_event::id::EventSignature::try_from(&str) -> core::result::Result<Self, Self::Error> 1585 impl core::convert::TryFrom<alloc::string::String> for radroots_event::id::EventSignature 1586 pub type radroots_event::id::EventSignature::Error = radroots_event::id::ParseError 1587 pub fn radroots_event::id::EventSignature::try_from(alloc::string::String) -> core::result::Result<Self, Self::Error> 1588 impl core::fmt::Display for radroots_event::id::EventSignature 1589 pub fn radroots_event::id::EventSignature::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 1590 impl core::str::traits::FromStr for radroots_event::id::EventSignature 1591 pub type radroots_event::id::EventSignature::Err = radroots_event::id::ParseError 1592 pub fn radroots_event::id::EventSignature::from_str(&str) -> core::result::Result<Self, Self::Err> 1593 impl serde_core::ser::Serialize for radroots_event::id::EventSignature 1594 pub fn radroots_event::id::EventSignature::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 1595 impl<'de> serde_core::de::Deserialize<'de> for radroots_event::id::EventSignature 1596 pub fn radroots_event::id::EventSignature::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 1597 pub struct radroots_event::id::InventoryBinId(_) 1598 impl radroots_event::id::InventoryBinId 1599 pub fn radroots_event::id::InventoryBinId::as_str(&self) -> &str 1600 pub fn radroots_event::id::InventoryBinId::into_string(self) -> alloc::string::String 1601 pub fn radroots_event::id::InventoryBinId::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_event::id::ParseError> 1602 impl core::convert::AsRef<str> for radroots_event::id::InventoryBinId 1603 pub fn radroots_event::id::InventoryBinId::as_ref(&self) -> &str 1604 impl core::convert::From<radroots_event::id::InventoryBinId> for alloc::string::String 1605 pub fn alloc::string::String::from(radroots_event::id::InventoryBinId) -> Self 1606 impl core::convert::TryFrom<&str> for radroots_event::id::InventoryBinId 1607 pub type radroots_event::id::InventoryBinId::Error = radroots_event::id::ParseError 1608 pub fn radroots_event::id::InventoryBinId::try_from(&str) -> core::result::Result<Self, Self::Error> 1609 impl core::convert::TryFrom<alloc::string::String> for radroots_event::id::InventoryBinId 1610 pub type radroots_event::id::InventoryBinId::Error = radroots_event::id::ParseError 1611 pub fn radroots_event::id::InventoryBinId::try_from(alloc::string::String) -> core::result::Result<Self, Self::Error> 1612 impl core::fmt::Display for radroots_event::id::InventoryBinId 1613 pub fn radroots_event::id::InventoryBinId::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 1614 impl core::str::traits::FromStr for radroots_event::id::InventoryBinId 1615 pub type radroots_event::id::InventoryBinId::Err = radroots_event::id::ParseError 1616 pub fn radroots_event::id::InventoryBinId::from_str(&str) -> core::result::Result<Self, Self::Err> 1617 impl serde_core::ser::Serialize for radroots_event::id::InventoryBinId 1618 pub fn radroots_event::id::InventoryBinId::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 1619 impl<'de> serde_core::de::Deserialize<'de> for radroots_event::id::InventoryBinId 1620 pub fn radroots_event::id::InventoryBinId::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 1621 pub struct radroots_event::id::MutationId(_) 1622 impl radroots_event::id::MutationId 1623 pub const fn radroots_event::id::MutationId::as_bytes(&self) -> &[u8; 32] 1624 pub const fn radroots_event::id::MutationId::from_bytes([u8; 32]) -> Self 1625 pub const fn radroots_event::id::MutationId::into_bytes(self) -> [u8; 32] 1626 pub fn radroots_event::id::MutationId::into_string(self) -> alloc::string::String 1627 pub fn radroots_event::id::MutationId::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_event::id::ParseError> 1628 pub fn radroots_event::id::MutationId::to_hex(&self) -> alloc::string::String 1629 impl core::convert::AsRef<[u8]> for radroots_event::id::MutationId 1630 pub fn radroots_event::id::MutationId::as_ref(&self) -> &[u8] 1631 impl core::convert::From<[u8; 32]> for radroots_event::id::MutationId 1632 pub fn radroots_event::id::MutationId::from([u8; 32]) -> Self 1633 impl core::convert::From<radroots_event::id::MutationId> for [u8; 32] 1634 pub fn [u8; 32]::from(radroots_event::id::MutationId) -> Self 1635 impl core::convert::TryFrom<&str> for radroots_event::id::MutationId 1636 pub type radroots_event::id::MutationId::Error = radroots_event::id::ParseError 1637 pub fn radroots_event::id::MutationId::try_from(&str) -> core::result::Result<Self, Self::Error> 1638 impl core::convert::TryFrom<alloc::string::String> for radroots_event::id::MutationId 1639 pub type radroots_event::id::MutationId::Error = radroots_event::id::ParseError 1640 pub fn radroots_event::id::MutationId::try_from(alloc::string::String) -> core::result::Result<Self, Self::Error> 1641 impl core::fmt::Display for radroots_event::id::MutationId 1642 pub fn radroots_event::id::MutationId::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 1643 impl core::str::traits::FromStr for radroots_event::id::MutationId 1644 pub type radroots_event::id::MutationId::Err = radroots_event::id::ParseError 1645 pub fn radroots_event::id::MutationId::from_str(&str) -> core::result::Result<Self, Self::Err> 1646 impl serde_core::ser::Serialize for radroots_event::id::MutationId 1647 pub fn radroots_event::id::MutationId::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 1648 impl<'de> serde_core::de::Deserialize<'de> for radroots_event::id::MutationId 1649 pub fn radroots_event::id::MutationId::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 1650 pub struct radroots_event::id::Nip01Coordinate 1651 impl radroots_event::id::Nip01Coordinate 1652 pub fn radroots_event::id::Nip01Coordinate::as_str(&self) -> &str 1653 pub fn radroots_event::id::Nip01Coordinate::identifier(&self) -> &str 1654 pub fn radroots_event::id::Nip01Coordinate::into_parts(self) -> radroots_event::id::Nip01CoordinateParts 1655 pub fn radroots_event::id::Nip01Coordinate::into_string(self) -> alloc::string::String 1656 pub const fn radroots_event::id::Nip01Coordinate::kind(&self) -> u32 1657 pub fn radroots_event::id::Nip01Coordinate::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_event::id::Nip01CoordinateParseError> 1658 pub fn radroots_event::id::Nip01Coordinate::parts(&self) -> radroots_event::id::Nip01CoordinateParts 1659 pub const fn radroots_event::id::Nip01Coordinate::pubkey(&self) -> &radroots_identity::key::PublicKey 1660 impl core::convert::AsRef<str> for radroots_event::id::Nip01Coordinate 1661 pub fn radroots_event::id::Nip01Coordinate::as_ref(&self) -> &str 1662 impl core::convert::From<radroots_event::id::Nip01Coordinate> for alloc::string::String 1663 pub fn alloc::string::String::from(radroots_event::id::Nip01Coordinate) -> Self 1664 impl core::convert::TryFrom<&str> for radroots_event::id::Nip01Coordinate 1665 pub type radroots_event::id::Nip01Coordinate::Error = radroots_event::id::Nip01CoordinateParseError 1666 pub fn radroots_event::id::Nip01Coordinate::try_from(&str) -> core::result::Result<Self, Self::Error> 1667 impl core::convert::TryFrom<alloc::string::String> for radroots_event::id::Nip01Coordinate 1668 pub type radroots_event::id::Nip01Coordinate::Error = radroots_event::id::Nip01CoordinateParseError 1669 pub fn radroots_event::id::Nip01Coordinate::try_from(alloc::string::String) -> core::result::Result<Self, Self::Error> 1670 impl core::fmt::Display for radroots_event::id::Nip01Coordinate 1671 pub fn radroots_event::id::Nip01Coordinate::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 1672 impl core::str::traits::FromStr for radroots_event::id::Nip01Coordinate 1673 pub type radroots_event::id::Nip01Coordinate::Err = radroots_event::id::Nip01CoordinateParseError 1674 pub fn radroots_event::id::Nip01Coordinate::from_str(&str) -> core::result::Result<Self, Self::Err> 1675 impl serde_core::ser::Serialize for radroots_event::id::Nip01Coordinate 1676 pub fn radroots_event::id::Nip01Coordinate::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 1677 impl<'de> serde_core::de::Deserialize<'de> for radroots_event::id::Nip01Coordinate 1678 pub fn radroots_event::id::Nip01Coordinate::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 1679 pub struct radroots_event::id::Nip01CoordinateParts 1680 pub radroots_event::id::Nip01CoordinateParts::identifier: alloc::string::String 1681 pub radroots_event::id::Nip01CoordinateParts::kind: u32 1682 pub radroots_event::id::Nip01CoordinateParts::pubkey: radroots_identity::key::PublicKey 1683 impl radroots_event::id::Nip01CoordinateParts 1684 pub fn radroots_event::id::Nip01CoordinateParts::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_event::id::Nip01CoordinateParseError> 1685 pub struct radroots_event::id::OrderId(_) 1686 impl radroots_event::id::OrderId 1687 pub fn radroots_event::id::OrderId::as_str(&self) -> &str 1688 pub fn radroots_event::id::OrderId::into_string(self) -> alloc::string::String 1689 pub fn radroots_event::id::OrderId::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_event::id::ParseError> 1690 impl core::convert::AsRef<str> for radroots_event::id::OrderId 1691 pub fn radroots_event::id::OrderId::as_ref(&self) -> &str 1692 impl core::convert::From<radroots_event::id::OrderId> for alloc::string::String 1693 pub fn alloc::string::String::from(radroots_event::id::OrderId) -> Self 1694 impl core::convert::TryFrom<&str> for radroots_event::id::OrderId 1695 pub type radroots_event::id::OrderId::Error = radroots_event::id::ParseError 1696 pub fn radroots_event::id::OrderId::try_from(&str) -> core::result::Result<Self, Self::Error> 1697 impl core::convert::TryFrom<alloc::string::String> for radroots_event::id::OrderId 1698 pub type radroots_event::id::OrderId::Error = radroots_event::id::ParseError 1699 pub fn radroots_event::id::OrderId::try_from(alloc::string::String) -> core::result::Result<Self, Self::Error> 1700 impl core::fmt::Display for radroots_event::id::OrderId 1701 pub fn radroots_event::id::OrderId::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 1702 impl core::str::traits::FromStr for radroots_event::id::OrderId 1703 pub type radroots_event::id::OrderId::Err = radroots_event::id::ParseError 1704 pub fn radroots_event::id::OrderId::from_str(&str) -> core::result::Result<Self, Self::Err> 1705 impl serde_core::ser::Serialize for radroots_event::id::OrderId 1706 pub fn radroots_event::id::OrderId::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 1707 impl<'de> serde_core::de::Deserialize<'de> for radroots_event::id::OrderId 1708 pub fn radroots_event::id::OrderId::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 1709 pub struct radroots_event::id::OrderQuoteId(_) 1710 impl radroots_event::id::OrderQuoteId 1711 pub fn radroots_event::id::OrderQuoteId::as_str(&self) -> &str 1712 pub fn radroots_event::id::OrderQuoteId::into_string(self) -> alloc::string::String 1713 pub fn radroots_event::id::OrderQuoteId::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_event::id::ParseError> 1714 impl core::convert::AsRef<str> for radroots_event::id::OrderQuoteId 1715 pub fn radroots_event::id::OrderQuoteId::as_ref(&self) -> &str 1716 impl core::convert::From<radroots_event::id::OrderQuoteId> for alloc::string::String 1717 pub fn alloc::string::String::from(radroots_event::id::OrderQuoteId) -> Self 1718 impl core::convert::TryFrom<&str> for radroots_event::id::OrderQuoteId 1719 pub type radroots_event::id::OrderQuoteId::Error = radroots_event::id::ParseError 1720 pub fn radroots_event::id::OrderQuoteId::try_from(&str) -> core::result::Result<Self, Self::Error> 1721 impl core::convert::TryFrom<alloc::string::String> for radroots_event::id::OrderQuoteId 1722 pub type radroots_event::id::OrderQuoteId::Error = radroots_event::id::ParseError 1723 pub fn radroots_event::id::OrderQuoteId::try_from(alloc::string::String) -> core::result::Result<Self, Self::Error> 1724 impl core::fmt::Display for radroots_event::id::OrderQuoteId 1725 pub fn radroots_event::id::OrderQuoteId::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 1726 impl core::str::traits::FromStr for radroots_event::id::OrderQuoteId 1727 pub type radroots_event::id::OrderQuoteId::Err = radroots_event::id::ParseError 1728 pub fn radroots_event::id::OrderQuoteId::from_str(&str) -> core::result::Result<Self, Self::Err> 1729 impl serde_core::ser::Serialize for radroots_event::id::OrderQuoteId 1730 pub fn radroots_event::id::OrderQuoteId::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 1731 impl<'de> serde_core::de::Deserialize<'de> for radroots_event::id::OrderQuoteId 1732 pub fn radroots_event::id::OrderQuoteId::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 1733 pub struct radroots_event::id::RelayUrl(_) 1734 impl radroots_event::id::RelayUrl 1735 pub fn radroots_event::id::RelayUrl::as_str(&self) -> &str 1736 pub fn radroots_event::id::RelayUrl::into_string(self) -> alloc::string::String 1737 pub fn radroots_event::id::RelayUrl::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_event::id::ParseError> 1738 impl core::convert::AsRef<str> for radroots_event::id::RelayUrl 1739 pub fn radroots_event::id::RelayUrl::as_ref(&self) -> &str 1740 impl core::convert::From<radroots_event::id::RelayUrl> for alloc::string::String 1741 pub fn alloc::string::String::from(radroots_event::id::RelayUrl) -> Self 1742 impl core::convert::TryFrom<&str> for radroots_event::id::RelayUrl 1743 pub type radroots_event::id::RelayUrl::Error = radroots_event::id::ParseError 1744 pub fn radroots_event::id::RelayUrl::try_from(&str) -> core::result::Result<Self, Self::Error> 1745 impl core::convert::TryFrom<alloc::string::String> for radroots_event::id::RelayUrl 1746 pub type radroots_event::id::RelayUrl::Error = radroots_event::id::ParseError 1747 pub fn radroots_event::id::RelayUrl::try_from(alloc::string::String) -> core::result::Result<Self, Self::Error> 1748 impl core::fmt::Display for radroots_event::id::RelayUrl 1749 pub fn radroots_event::id::RelayUrl::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 1750 impl core::str::traits::FromStr for radroots_event::id::RelayUrl 1751 pub type radroots_event::id::RelayUrl::Err = radroots_event::id::ParseError 1752 pub fn radroots_event::id::RelayUrl::from_str(&str) -> core::result::Result<Self, Self::Err> 1753 impl serde_core::ser::Serialize for radroots_event::id::RelayUrl 1754 pub fn radroots_event::id::RelayUrl::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 1755 impl<'de> serde_core::de::Deserialize<'de> for radroots_event::id::RelayUrl 1756 pub fn radroots_event::id::RelayUrl::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 1757 pub struct radroots_event::id::TradeId(_) 1758 impl radroots_event::id::TradeId 1759 pub const fn radroots_event::id::TradeId::as_bytes(&self) -> &[u8; 16] 1760 pub const fn radroots_event::id::TradeId::from_bytes([u8; 16]) -> Self 1761 pub const fn radroots_event::id::TradeId::into_bytes(self) -> [u8; 16] 1762 pub fn radroots_event::id::TradeId::into_string(self) -> alloc::string::String 1763 pub fn radroots_event::id::TradeId::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_event::id::ParseError> 1764 pub fn radroots_event::id::TradeId::to_hex(&self) -> alloc::string::String 1765 impl core::convert::AsRef<[u8]> for radroots_event::id::TradeId 1766 pub fn radroots_event::id::TradeId::as_ref(&self) -> &[u8] 1767 impl core::convert::From<[u8; 16]> for radroots_event::id::TradeId 1768 pub fn radroots_event::id::TradeId::from([u8; 16]) -> Self 1769 impl core::convert::From<radroots_event::id::TradeId> for [u8; 16] 1770 pub fn [u8; 16]::from(radroots_event::id::TradeId) -> Self 1771 impl core::convert::TryFrom<&str> for radroots_event::id::TradeId 1772 pub type radroots_event::id::TradeId::Error = radroots_event::id::ParseError 1773 pub fn radroots_event::id::TradeId::try_from(&str) -> core::result::Result<Self, Self::Error> 1774 impl core::convert::TryFrom<alloc::string::String> for radroots_event::id::TradeId 1775 pub type radroots_event::id::TradeId::Error = radroots_event::id::ParseError 1776 pub fn radroots_event::id::TradeId::try_from(alloc::string::String) -> core::result::Result<Self, Self::Error> 1777 impl core::fmt::Display for radroots_event::id::TradeId 1778 pub fn radroots_event::id::TradeId::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 1779 impl core::str::traits::FromStr for radroots_event::id::TradeId 1780 pub type radroots_event::id::TradeId::Err = radroots_event::id::ParseError 1781 pub fn radroots_event::id::TradeId::from_str(&str) -> core::result::Result<Self, Self::Err> 1782 impl serde_core::ser::Serialize for radroots_event::id::TradeId 1783 pub fn radroots_event::id::TradeId::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 1784 impl<'de> serde_core::de::Deserialize<'de> for radroots_event::id::TradeId 1785 pub fn radroots_event::id::TradeId::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 1786 pub const radroots_event::id::RADROOTS_NIP01_COORDINATE_MAX_BYTES: usize 1787 pub fn radroots_event::id::relay_url_is_valid(&str) -> bool 1788 pub mod radroots_event::knowledge 1789 pub enum radroots_event::knowledge::KnowledgeLocationPrecision 1790 pub radroots_event::knowledge::KnowledgeLocationPrecision::CoarseGeohash 1791 pub radroots_event::knowledge::KnowledgeLocationPrecision::ExactPrivateReference 1792 pub radroots_event::knowledge::KnowledgeLocationPrecision::ExactPublic 1793 pub radroots_event::knowledge::KnowledgeLocationPrecision::Locality 1794 pub radroots_event::knowledge::KnowledgeLocationPrecision::None 1795 pub radroots_event::knowledge::KnowledgeLocationPrecision::Region 1796 pub enum radroots_event::knowledge::KnowledgeReviewScope 1797 pub radroots_event::knowledge::KnowledgeReviewScope::AddressableCoordinateAtPublishedAt 1798 pub radroots_event::knowledge::KnowledgeReviewScope::PolicyLatest 1799 pub radroots_event::knowledge::KnowledgeReviewScope::SpecificVersion 1800 pub enum radroots_event::knowledge::KnowledgeValidationError 1801 pub radroots_event::knowledge::KnowledgeValidationError::EmptyField(&'static str) 1802 pub radroots_event::knowledge::KnowledgeValidationError::InvalidField(&'static str) 1803 impl radroots_event::knowledge::KnowledgeValidationError 1804 pub const fn radroots_event::knowledge::KnowledgeValidationError::code(self) -> &'static str 1805 pub const fn radroots_event::knowledge::KnowledgeValidationError::field(self) -> &'static str 1806 impl core::error::Error for radroots_event::knowledge::KnowledgeValidationError 1807 impl core::fmt::Display for radroots_event::knowledge::KnowledgeValidationError 1808 pub fn radroots_event::knowledge::KnowledgeValidationError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 1809 pub enum radroots_event::knowledge::WikiDTagError 1810 pub radroots_event::knowledge::WikiDTagError::Empty 1811 pub radroots_event::knowledge::WikiDTagError::NotNormalized 1812 pub radroots_event::knowledge::WikiDTagError::NotNormalized::normalized: alloc::string::String 1813 pub radroots_event::knowledge::WikiDTagError::TooLong 1814 pub radroots_event::knowledge::WikiDTagError::TooLong::actual: usize 1815 pub radroots_event::knowledge::WikiDTagError::TooLong::max: usize 1816 impl radroots_event::knowledge::WikiDTagError 1817 pub const fn radroots_event::knowledge::WikiDTagError::code(&self) -> &'static str 1818 impl core::error::Error for radroots_event::knowledge::WikiDTagError 1819 impl core::fmt::Display for radroots_event::knowledge::WikiDTagError 1820 pub fn radroots_event::knowledge::WikiDTagError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 1821 pub struct radroots_event::knowledge::AddressableRef 1822 pub radroots_event::knowledge::AddressableRef::d_tag: alloc::string::String 1823 pub radroots_event::knowledge::AddressableRef::kind: u32 1824 pub radroots_event::knowledge::AddressableRef::pubkey: alloc::string::String 1825 pub radroots_event::knowledge::AddressableRef::relays: alloc::vec::Vec<alloc::string::String> 1826 pub struct radroots_event::knowledge::ContributionAttestation 1827 pub radroots_event::knowledge::ContributionAttestation::contribution_type: alloc::string::String 1828 pub radroots_event::knowledge::ContributionAttestation::contributor_pubkey: alloc::string::String 1829 pub radroots_event::knowledge::ContributionAttestation::evidence_refs: alloc::vec::Vec<radroots_event::tag::EventRef> 1830 pub radroots_event::knowledge::ContributionAttestation::schema: alloc::string::String 1831 pub radroots_event::knowledge::ContributionAttestation::schema_version: u16 1832 pub radroots_event::knowledge::ContributionAttestation::subject_refs: alloc::vec::Vec<radroots_event::tag::EventRef> 1833 pub radroots_event::knowledge::ContributionAttestation::summary: alloc::string::String 1834 pub struct radroots_event::knowledge::EvidenceBounty 1835 pub radroots_event::knowledge::EvidenceBounty::closes_at: core::option::Option<alloc::string::String> 1836 pub radroots_event::knowledge::EvidenceBounty::d_tag: alloc::string::String 1837 pub radroots_event::knowledge::EvidenceBounty::reward_note: core::option::Option<alloc::string::String> 1838 pub radroots_event::knowledge::EvidenceBounty::schema: alloc::string::String 1839 pub radroots_event::knowledge::EvidenceBounty::schema_version: u16 1840 pub radroots_event::knowledge::EvidenceBounty::summary: core::option::Option<alloc::string::String> 1841 pub radroots_event::knowledge::EvidenceBounty::target_refs: alloc::vec::Vec<radroots_event::tag::EventRef> 1842 pub radroots_event::knowledge::EvidenceBounty::title: alloc::string::String 1843 pub radroots_event::knowledge::EvidenceBounty::topics: alloc::vec::Vec<alloc::string::String> 1844 pub struct radroots_event::knowledge::KnowledgeChangeProposal 1845 pub radroots_event::knowledge::KnowledgeChangeProposal::evidence_refs: alloc::vec::Vec<radroots_event::tag::EventRef> 1846 pub radroots_event::knowledge::KnowledgeChangeProposal::proposal_type: alloc::string::String 1847 pub radroots_event::knowledge::KnowledgeChangeProposal::rationale: core::option::Option<alloc::string::String> 1848 pub radroots_event::knowledge::KnowledgeChangeProposal::schema: alloc::string::String 1849 pub radroots_event::knowledge::KnowledgeChangeProposal::schema_version: u16 1850 pub radroots_event::knowledge::KnowledgeChangeProposal::summary: alloc::string::String 1851 pub radroots_event::knowledge::KnowledgeChangeProposal::supersedes: alloc::vec::Vec<radroots_event::tag::EventRef> 1852 pub radroots_event::knowledge::KnowledgeChangeProposal::target: radroots_event::tag::EventRef 1853 pub struct radroots_event::knowledge::KnowledgeCitationSpan 1854 pub radroots_event::knowledge::KnowledgeCitationSpan::artifact_ref: core::option::Option<radroots_event::tag::EventRef> 1855 pub radroots_event::knowledge::KnowledgeCitationSpan::chunk_id: core::option::Option<alloc::string::String> 1856 pub radroots_event::knowledge::KnowledgeCitationSpan::page_end: core::option::Option<u32> 1857 pub radroots_event::knowledge::KnowledgeCitationSpan::page_start: core::option::Option<u32> 1858 pub radroots_event::knowledge::KnowledgeCitationSpan::quote_hash: core::option::Option<alloc::string::String> 1859 pub radroots_event::knowledge::KnowledgeCitationSpan::section_path: alloc::vec::Vec<alloc::string::String> 1860 pub radroots_event::knowledge::KnowledgeCitationSpan::source_ref: radroots_event::tag::EventRef 1861 pub struct radroots_event::knowledge::KnowledgeClaim 1862 pub radroots_event::knowledge::KnowledgeClaim::applies_to: alloc::vec::Vec<alloc::string::String> 1863 pub radroots_event::knowledge::KnowledgeClaim::author_asserted_confidence: core::option::Option<alloc::string::String> 1864 pub radroots_event::knowledge::KnowledgeClaim::citation_spans: alloc::vec::Vec<radroots_event::knowledge::KnowledgeCitationSpan> 1865 pub radroots_event::knowledge::KnowledgeClaim::claim_type: alloc::string::String 1866 pub radroots_event::knowledge::KnowledgeClaim::schema: alloc::string::String 1867 pub radroots_event::knowledge::KnowledgeClaim::schema_version: u16 1868 pub radroots_event::knowledge::KnowledgeClaim::supersedes: alloc::vec::Vec<radroots_event::tag::EventRef> 1869 pub radroots_event::knowledge::KnowledgeClaim::text: alloc::string::String 1870 pub radroots_event::knowledge::KnowledgeClaim::topics: alloc::vec::Vec<alloc::string::String> 1871 pub struct radroots_event::knowledge::KnowledgeFieldContext 1872 pub radroots_event::knowledge::KnowledgeFieldContext::context_tags: alloc::vec::Vec<alloc::string::String> 1873 pub radroots_event::knowledge::KnowledgeFieldContext::location_precision: radroots_event::knowledge::KnowledgeLocationPrecision 1874 pub radroots_event::knowledge::KnowledgeFieldContext::private_location_ref: core::option::Option<radroots_event::tag::EventRef> 1875 pub radroots_event::knowledge::KnowledgeFieldContext::public_location: core::option::Option<radroots_event::knowledge::KnowledgeLocation> 1876 pub radroots_event::knowledge::KnowledgeFieldContext::topics: alloc::vec::Vec<alloc::string::String> 1877 pub struct radroots_event::knowledge::KnowledgeFieldReport 1878 pub radroots_event::knowledge::KnowledgeFieldReport::artifact_refs: alloc::vec::Vec<radroots_event::tag::EventRef> 1879 pub radroots_event::knowledge::KnowledgeFieldReport::context: radroots_event::knowledge::KnowledgeFieldContext 1880 pub radroots_event::knowledge::KnowledgeFieldReport::limitations: alloc::vec::Vec<alloc::string::String> 1881 pub radroots_event::knowledge::KnowledgeFieldReport::observations: alloc::vec::Vec<radroots_event::knowledge::KnowledgeObservation> 1882 pub radroots_event::knowledge::KnowledgeFieldReport::related_refs: alloc::vec::Vec<radroots_event::tag::EventRef> 1883 pub radroots_event::knowledge::KnowledgeFieldReport::report_type: alloc::string::String 1884 pub radroots_event::knowledge::KnowledgeFieldReport::schema: alloc::string::String 1885 pub radroots_event::knowledge::KnowledgeFieldReport::schema_version: u16 1886 pub radroots_event::knowledge::KnowledgeFieldReport::summary: core::option::Option<alloc::string::String> 1887 pub radroots_event::knowledge::KnowledgeFieldReport::title: alloc::string::String 1888 pub struct radroots_event::knowledge::KnowledgeLocation 1889 pub radroots_event::knowledge::KnowledgeLocation::geohash: core::option::Option<alloc::string::String> 1890 pub radroots_event::knowledge::KnowledgeLocation::label: core::option::Option<alloc::string::String> 1891 pub radroots_event::knowledge::KnowledgeLocation::locality: core::option::Option<alloc::string::String> 1892 pub radroots_event::knowledge::KnowledgeLocation::region: core::option::Option<alloc::string::String> 1893 pub struct radroots_event::knowledge::KnowledgeNodeRef 1894 pub radroots_event::knowledge::KnowledgeNodeRef::address_ref: core::option::Option<radroots_event::knowledge::AddressableRef> 1895 pub radroots_event::knowledge::KnowledgeNodeRef::event_ref: core::option::Option<radroots_event::tag::EventRef> 1896 pub radroots_event::knowledge::KnowledgeNodeRef::external_id: core::option::Option<alloc::string::String> 1897 pub radroots_event::knowledge::KnowledgeNodeRef::label: core::option::Option<alloc::string::String> 1898 pub radroots_event::knowledge::KnowledgeNodeRef::node_type: alloc::string::String 1899 pub struct radroots_event::knowledge::KnowledgeObservation 1900 pub radroots_event::knowledge::KnowledgeObservation::observation_type: alloc::string::String 1901 pub radroots_event::knowledge::KnowledgeObservation::observed_at: core::option::Option<alloc::string::String> 1902 pub radroots_event::knowledge::KnowledgeObservation::text: alloc::string::String 1903 pub radroots_event::knowledge::KnowledgeObservation::values: alloc::vec::Vec<radroots_event::knowledge::KnowledgeObservationValue> 1904 pub struct radroots_event::knowledge::KnowledgeObservationValue 1905 pub radroots_event::knowledge::KnowledgeObservationValue::key: alloc::string::String 1906 pub radroots_event::knowledge::KnowledgeObservationValue::unit: core::option::Option<alloc::string::String> 1907 pub radroots_event::knowledge::KnowledgeObservationValue::value: alloc::string::String 1908 pub struct radroots_event::knowledge::KnowledgeRelation 1909 pub radroots_event::knowledge::KnowledgeRelation::author_asserted_confidence: core::option::Option<alloc::string::String> 1910 pub radroots_event::knowledge::KnowledgeRelation::object: radroots_event::knowledge::KnowledgeNodeRef 1911 pub radroots_event::knowledge::KnowledgeRelation::predicate: alloc::string::String 1912 pub radroots_event::knowledge::KnowledgeRelation::schema: alloc::string::String 1913 pub radroots_event::knowledge::KnowledgeRelation::schema_version: u16 1914 pub radroots_event::knowledge::KnowledgeRelation::subject: radroots_event::knowledge::KnowledgeNodeRef 1915 pub radroots_event::knowledge::KnowledgeRelation::supersedes: alloc::vec::Vec<radroots_event::tag::EventRef> 1916 pub radroots_event::knowledge::KnowledgeRelation::support_refs: alloc::vec::Vec<radroots_event::tag::EventRef> 1917 pub struct radroots_event::knowledge::KnowledgeReview 1918 pub radroots_event::knowledge::KnowledgeReview::evidence_refs: alloc::vec::Vec<radroots_event::tag::EventRef> 1919 pub radroots_event::knowledge::KnowledgeReview::notes: core::option::Option<alloc::string::String> 1920 pub radroots_event::knowledge::KnowledgeReview::reviewer_role: alloc::string::String 1921 pub radroots_event::knowledge::KnowledgeReview::schema: alloc::string::String 1922 pub radroots_event::knowledge::KnowledgeReview::schema_version: u16 1923 pub radroots_event::knowledge::KnowledgeReview::scores: alloc::vec::Vec<radroots_event::knowledge::KnowledgeReviewScore> 1924 pub radroots_event::knowledge::KnowledgeReview::target: radroots_event::knowledge::KnowledgeReviewTarget 1925 pub radroots_event::knowledge::KnowledgeReview::verdict: alloc::string::String 1926 pub struct radroots_event::knowledge::KnowledgeReviewScore 1927 pub radroots_event::knowledge::KnowledgeReviewScore::dimension: alloc::string::String 1928 pub radroots_event::knowledge::KnowledgeReviewScore::note: core::option::Option<alloc::string::String> 1929 pub radroots_event::knowledge::KnowledgeReviewScore::value: alloc::string::String 1930 pub struct radroots_event::knowledge::KnowledgeReviewTarget 1931 pub radroots_event::knowledge::KnowledgeReviewTarget::address: core::option::Option<alloc::string::String> 1932 pub radroots_event::knowledge::KnowledgeReviewTarget::author_pubkey: alloc::string::String 1933 pub radroots_event::knowledge::KnowledgeReviewTarget::event_id: alloc::string::String 1934 pub radroots_event::knowledge::KnowledgeReviewTarget::kind: u32 1935 pub radroots_event::knowledge::KnowledgeReviewTarget::relays: alloc::vec::Vec<alloc::string::String> 1936 pub radroots_event::knowledge::KnowledgeReviewTarget::review_scope: radroots_event::knowledge::KnowledgeReviewScope 1937 pub struct radroots_event::knowledge::KnowledgeSource 1938 pub radroots_event::knowledge::KnowledgeSource::artifact_refs: alloc::vec::Vec<radroots_event::tag::EventRef> 1939 pub radroots_event::knowledge::KnowledgeSource::author_asserted_rights: core::option::Option<radroots_event::knowledge::RightsAssertion> 1940 pub radroots_event::knowledge::KnowledgeSource::authors: alloc::vec::Vec<alloc::string::String> 1941 pub radroots_event::knowledge::KnowledgeSource::canonical_url: core::option::Option<alloc::string::String> 1942 pub radroots_event::knowledge::KnowledgeSource::d_tag: alloc::string::String 1943 pub radroots_event::knowledge::KnowledgeSource::edition: core::option::Option<alloc::string::String> 1944 pub radroots_event::knowledge::KnowledgeSource::publication_year: core::option::Option<u16> 1945 pub radroots_event::knowledge::KnowledgeSource::publisher: core::option::Option<alloc::string::String> 1946 pub radroots_event::knowledge::KnowledgeSource::schema: alloc::string::String 1947 pub radroots_event::knowledge::KnowledgeSource::schema_version: u16 1948 pub radroots_event::knowledge::KnowledgeSource::source_type: alloc::string::String 1949 pub radroots_event::knowledge::KnowledgeSource::summary: core::option::Option<alloc::string::String> 1950 pub radroots_event::knowledge::KnowledgeSource::title: alloc::string::String 1951 pub radroots_event::knowledge::KnowledgeSource::topics: alloc::vec::Vec<alloc::string::String> 1952 pub struct radroots_event::knowledge::RightsAssertion 1953 pub radroots_event::knowledge::RightsAssertion::assertion: alloc::string::String 1954 pub radroots_event::knowledge::RightsAssertion::holder: core::option::Option<alloc::string::String> 1955 pub radroots_event::knowledge::RightsAssertion::license: core::option::Option<alloc::string::String> 1956 pub radroots_event::knowledge::RightsAssertion::url: core::option::Option<alloc::string::String> 1957 pub struct radroots_event::knowledge::WikiArticle 1958 pub radroots_event::knowledge::WikiArticle::content_djot: alloc::string::String 1959 pub radroots_event::knowledge::WikiArticle::d_tag: alloc::string::String 1960 pub radroots_event::knowledge::WikiArticle::deferred_to: core::option::Option<radroots_event::knowledge::WikiArticleVersionRef> 1961 pub radroots_event::knowledge::WikiArticle::forked_from: alloc::vec::Vec<radroots_event::knowledge::WikiArticleVersionRef> 1962 pub radroots_event::knowledge::WikiArticle::references: alloc::vec::Vec<radroots_event::tag::EventRef> 1963 pub radroots_event::knowledge::WikiArticle::summary: core::option::Option<alloc::string::String> 1964 pub radroots_event::knowledge::WikiArticle::title: core::option::Option<alloc::string::String> 1965 pub radroots_event::knowledge::WikiArticle::topics: alloc::vec::Vec<alloc::string::String> 1966 pub struct radroots_event::knowledge::WikiArticleVersionRef 1967 pub radroots_event::knowledge::WikiArticleVersionRef::address_ref: radroots_event::knowledge::AddressableRef 1968 pub radroots_event::knowledge::WikiArticleVersionRef::event_id: alloc::string::String 1969 pub struct radroots_event::knowledge::WikiMergeRequest 1970 pub radroots_event::knowledge::WikiMergeRequest::base_version_event_id: core::option::Option<alloc::string::String> 1971 pub radroots_event::knowledge::WikiMergeRequest::destination_pubkey: alloc::string::String 1972 pub radroots_event::knowledge::WikiMergeRequest::explanation: core::option::Option<alloc::string::String> 1973 pub radroots_event::knowledge::WikiMergeRequest::source_version_event_id: alloc::string::String 1974 pub radroots_event::knowledge::WikiMergeRequest::target_article: radroots_event::knowledge::AddressableRef 1975 pub struct radroots_event::knowledge::WikiRedirect 1976 pub radroots_event::knowledge::WikiRedirect::d_tag: alloc::string::String 1977 pub radroots_event::knowledge::WikiRedirect::target: radroots_event::knowledge::AddressableRef 1978 pub const radroots_event::knowledge::RADROOTS_CONTRIBUTION_ATTESTATION_SCHEMA: &str 1979 pub const radroots_event::knowledge::RADROOTS_EVIDENCE_BOUNTY_SCHEMA: &str 1980 pub const radroots_event::knowledge::RADROOTS_KNOWLEDGE_CHANGE_PROPOSAL_SCHEMA: &str 1981 pub const radroots_event::knowledge::RADROOTS_KNOWLEDGE_CLAIM_SCHEMA: &str 1982 pub const radroots_event::knowledge::RADROOTS_KNOWLEDGE_FIELD_REPORT_SCHEMA: &str 1983 pub const radroots_event::knowledge::RADROOTS_KNOWLEDGE_RELATION_SCHEMA: &str 1984 pub const radroots_event::knowledge::RADROOTS_KNOWLEDGE_REVIEW_SCHEMA: &str 1985 pub const radroots_event::knowledge::RADROOTS_KNOWLEDGE_SCHEMA_VERSION: u16 1986 pub const radroots_event::knowledge::RADROOTS_KNOWLEDGE_SOURCE_SCHEMA: &str 1987 pub const radroots_event::knowledge::RADROOTS_WIKI_D_TAG_MAX_LEN: usize 1988 pub fn radroots_event::knowledge::is_uncited_knowledge_claim_type(&str) -> bool 1989 pub fn radroots_event::knowledge::normalize_wiki_d_tag(&str) -> alloc::string::String 1990 pub fn radroots_event::knowledge::validate_contribution_attestation(&radroots_event::knowledge::ContributionAttestation) -> core::result::Result<(), radroots_event::knowledge::KnowledgeValidationError> 1991 pub fn radroots_event::knowledge::validate_evidence_bounty(&radroots_event::knowledge::EvidenceBounty) -> core::result::Result<(), radroots_event::knowledge::KnowledgeValidationError> 1992 pub fn radroots_event::knowledge::validate_knowledge_change_proposal(&radroots_event::knowledge::KnowledgeChangeProposal) -> core::result::Result<(), radroots_event::knowledge::KnowledgeValidationError> 1993 pub fn radroots_event::knowledge::validate_knowledge_claim(&radroots_event::knowledge::KnowledgeClaim) -> core::result::Result<(), radroots_event::knowledge::KnowledgeValidationError> 1994 pub fn radroots_event::knowledge::validate_knowledge_field_report(&radroots_event::knowledge::KnowledgeFieldReport) -> core::result::Result<(), radroots_event::knowledge::KnowledgeValidationError> 1995 pub fn radroots_event::knowledge::validate_knowledge_relation(&radroots_event::knowledge::KnowledgeRelation) -> core::result::Result<(), radroots_event::knowledge::KnowledgeValidationError> 1996 pub fn radroots_event::knowledge::validate_knowledge_review(&radroots_event::knowledge::KnowledgeReview) -> core::result::Result<(), radroots_event::knowledge::KnowledgeValidationError> 1997 pub fn radroots_event::knowledge::validate_knowledge_source(&radroots_event::knowledge::KnowledgeSource) -> core::result::Result<(), radroots_event::knowledge::KnowledgeValidationError> 1998 pub fn radroots_event::knowledge::validate_wiki_article(&radroots_event::knowledge::WikiArticle) -> core::result::Result<(), radroots_event::knowledge::KnowledgeValidationError> 1999 pub fn radroots_event::knowledge::validate_wiki_d_tag(&str) -> core::result::Result<(), radroots_event::knowledge::WikiDTagError> 2000 pub fn radroots_event::knowledge::validate_wiki_merge_request(&radroots_event::knowledge::WikiMergeRequest) -> core::result::Result<(), radroots_event::knowledge::KnowledgeValidationError> 2001 pub fn radroots_event::knowledge::validate_wiki_redirect(&radroots_event::knowledge::WikiRedirect) -> core::result::Result<(), radroots_event::knowledge::KnowledgeValidationError> 2002 pub mod radroots_event::listing 2003 pub mod radroots_event::listing::classified 2004 pub enum radroots_event::listing::classified::ClassifiedListingPartition 2005 pub radroots_event::listing::classified::ClassifiedListingPartition::Ambiguous 2006 pub radroots_event::listing::classified::ClassifiedListingPartition::FocusedFoodAvailability 2007 pub radroots_event::listing::classified::ClassifiedListingPartition::GenericNip99 2008 pub radroots_event::listing::classified::ClassifiedListingPartition::OperationalListing 2009 pub const radroots_event::listing::classified::TAG_RADROOTS_BIN: &str 2010 pub const radroots_event::listing::classified::TAG_RADROOTS_PRICE: &str 2011 pub const radroots_event::listing::classified::TAG_RADROOTS_PRICE_UNIT: &str 2012 pub const radroots_event::listing::classified::TAG_RADROOTS_PRIMARY_BIN: &str 2013 pub const radroots_event::listing::classified::TAG_RADROOTS_QUANTITY: &str 2014 pub fn radroots_event::listing::classified::classify_classified_listing_marker_names<'a>(impl core::iter::traits::collect::IntoIterator<Item = core::option::Option<&'a str>>) -> radroots_event::listing::classified::ClassifiedListingPartition 2015 pub fn radroots_event::listing::classified::classify_classified_listing_tag_slice(&[radroots_event::envelope::EventTag]) -> radroots_event::listing::classified::ClassifiedListingPartition 2016 pub fn radroots_event::listing::classified::classify_classified_listing_tags(&radroots_event::envelope::EventTags) -> radroots_event::listing::classified::ClassifiedListingPartition 2017 pub mod radroots_event::listing::operational 2018 pub enum radroots_event::listing::operational::OperationalListingAvailability 2019 pub radroots_event::listing::operational::OperationalListingAvailability::Status 2020 pub radroots_event::listing::operational::OperationalListingAvailability::Status::status: radroots_event::listing::operational::OperationalListingStatus 2021 pub radroots_event::listing::operational::OperationalListingAvailability::Window 2022 pub radroots_event::listing::operational::OperationalListingAvailability::Window::end: core::option::Option<u64> 2023 pub radroots_event::listing::operational::OperationalListingAvailability::Window::start: core::option::Option<u64> 2024 pub enum radroots_event::listing::operational::OperationalListingDeliveryMethod 2025 pub radroots_event::listing::operational::OperationalListingDeliveryMethod::LocalDelivery 2026 pub radroots_event::listing::operational::OperationalListingDeliveryMethod::Other 2027 pub radroots_event::listing::operational::OperationalListingDeliveryMethod::Other::method: alloc::string::String 2028 pub radroots_event::listing::operational::OperationalListingDeliveryMethod::Pickup 2029 pub radroots_event::listing::operational::OperationalListingDeliveryMethod::Shipping 2030 pub enum radroots_event::listing::operational::OperationalListingParseError 2031 pub radroots_event::listing::operational::OperationalListingParseError::InvalidCurrency 2032 pub radroots_event::listing::operational::OperationalListingParseError::InvalidDiscount(alloc::string::String) 2033 pub radroots_event::listing::operational::OperationalListingParseError::InvalidJson(alloc::string::String) 2034 pub radroots_event::listing::operational::OperationalListingParseError::InvalidKind(u32) 2035 pub radroots_event::listing::operational::OperationalListingParseError::InvalidNumber(alloc::string::String) 2036 pub radroots_event::listing::operational::OperationalListingParseError::InvalidTag(alloc::string::String) 2037 pub radroots_event::listing::operational::OperationalListingParseError::InvalidUnit 2038 pub radroots_event::listing::operational::OperationalListingParseError::MissingTag(alloc::string::String) 2039 impl core::error::Error for radroots_event::listing::operational::OperationalListingParseError 2040 impl core::fmt::Display for radroots_event::listing::operational::OperationalListingParseError 2041 pub fn radroots_event::listing::operational::OperationalListingParseError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 2042 pub enum radroots_event::listing::operational::OperationalListingStatus 2043 pub radroots_event::listing::operational::OperationalListingStatus::Active 2044 pub radroots_event::listing::operational::OperationalListingStatus::Other 2045 pub radroots_event::listing::operational::OperationalListingStatus::Other::value: alloc::string::String 2046 pub radroots_event::listing::operational::OperationalListingStatus::Sold 2047 pub struct radroots_event::listing::operational::OperationalListing 2048 pub radroots_event::listing::operational::OperationalListing::availability: core::option::Option<radroots_event::listing::operational::OperationalListingAvailability> 2049 pub radroots_event::listing::operational::OperationalListing::bins: alloc::vec::Vec<radroots_event::listing::operational::OperationalListingBin> 2050 pub radroots_event::listing::operational::OperationalListing::d_tag: radroots_event::id::DTag 2051 pub radroots_event::listing::operational::OperationalListing::delivery_method: core::option::Option<radroots_event::listing::operational::OperationalListingDeliveryMethod> 2052 pub radroots_event::listing::operational::OperationalListing::discounts: core::option::Option<alloc::vec::Vec<radroots_core::discount::Discount>> 2053 pub radroots_event::listing::operational::OperationalListing::farm: radroots_event::farm::FarmRef 2054 pub radroots_event::listing::operational::OperationalListing::images: core::option::Option<alloc::vec::Vec<radroots_event::listing::operational::OperationalListingImage>> 2055 pub radroots_event::listing::operational::OperationalListing::inventory_available: core::option::Option<radroots_core::decimal::Decimal> 2056 pub radroots_event::listing::operational::OperationalListing::location: core::option::Option<radroots_event::listing::operational::OperationalListingPublicLocation> 2057 pub radroots_event::listing::operational::OperationalListing::plot: core::option::Option<radroots_event::farm::plot::PlotRef> 2058 pub radroots_event::listing::operational::OperationalListing::primary_bin_id: radroots_event::id::InventoryBinId 2059 pub radroots_event::listing::operational::OperationalListing::product: radroots_event::listing::operational::OperationalListingProduct 2060 pub radroots_event::listing::operational::OperationalListing::published_at: core::option::Option<u64> 2061 pub radroots_event::listing::operational::OperationalListing::resource_area: core::option::Option<radroots_event::farm::resource_area::ResourceAreaRef> 2062 pub struct radroots_event::listing::operational::OperationalListingBin 2063 pub radroots_event::listing::operational::OperationalListingBin::bin_id: radroots_event::id::InventoryBinId 2064 pub radroots_event::listing::operational::OperationalListingBin::display_amount: core::option::Option<radroots_core::decimal::Decimal> 2065 pub radroots_event::listing::operational::OperationalListingBin::display_label: core::option::Option<alloc::string::String> 2066 pub radroots_event::listing::operational::OperationalListingBin::display_price: core::option::Option<radroots_core::money::Money> 2067 pub radroots_event::listing::operational::OperationalListingBin::display_price_unit: core::option::Option<radroots_core::unit::Unit> 2068 pub radroots_event::listing::operational::OperationalListingBin::display_unit: core::option::Option<radroots_core::unit::Unit> 2069 pub radroots_event::listing::operational::OperationalListingBin::price_per_canonical_unit: radroots_core::quantity_price::QuantityPrice 2070 pub radroots_event::listing::operational::OperationalListingBin::quantity: radroots_core::quantity::Quantity 2071 pub struct radroots_event::listing::operational::OperationalListingImage 2072 pub radroots_event::listing::operational::OperationalListingImage::size: core::option::Option<radroots_event::listing::operational::OperationalListingImageSize> 2073 pub radroots_event::listing::operational::OperationalListingImage::url: alloc::string::String 2074 pub struct radroots_event::listing::operational::OperationalListingImageSize 2075 pub radroots_event::listing::operational::OperationalListingImageSize::h: u32 2076 pub radroots_event::listing::operational::OperationalListingImageSize::w: u32 2077 pub struct radroots_event::listing::operational::OperationalListingProduct 2078 pub radroots_event::listing::operational::OperationalListingProduct::category: alloc::string::String 2079 pub radroots_event::listing::operational::OperationalListingProduct::key: alloc::string::String 2080 pub radroots_event::listing::operational::OperationalListingProduct::location: core::option::Option<alloc::string::String> 2081 pub radroots_event::listing::operational::OperationalListingProduct::lot: core::option::Option<alloc::string::String> 2082 pub radroots_event::listing::operational::OperationalListingProduct::process: core::option::Option<alloc::string::String> 2083 pub radroots_event::listing::operational::OperationalListingProduct::profile: core::option::Option<alloc::string::String> 2084 pub radroots_event::listing::operational::OperationalListingProduct::summary: core::option::Option<alloc::string::String> 2085 pub radroots_event::listing::operational::OperationalListingProduct::title: alloc::string::String 2086 pub radroots_event::listing::operational::OperationalListingProduct::year: core::option::Option<alloc::string::String> 2087 pub struct radroots_event::listing::operational::OperationalListingProductTagKeys 2088 pub struct radroots_event::listing::operational::OperationalListingPublicLocation 2089 pub radroots_event::listing::operational::OperationalListingPublicLocation::city: core::option::Option<alloc::string::String> 2090 pub radroots_event::listing::operational::OperationalListingPublicLocation::country: core::option::Option<alloc::string::String> 2091 pub radroots_event::listing::operational::OperationalListingPublicLocation::geohash: alloc::string::String 2092 pub radroots_event::listing::operational::OperationalListingPublicLocation::primary: alloc::string::String 2093 pub radroots_event::listing::operational::OperationalListingPublicLocation::region: core::option::Option<alloc::string::String> 2094 pub const radroots_event::listing::operational::RADROOTS_OPERATIONAL_LISTING_PRODUCT_TAG_KEYS: [&str; 9] 2095 pub mod radroots_event::media 2096 pub mod radroots_event::media::file_metadata 2097 pub struct radroots_event::media::file_metadata::FileMetadata 2098 pub radroots_event::media::file_metadata::FileMetadata::alt: core::option::Option<alloc::string::String> 2099 pub radroots_event::media::file_metadata::FileMetadata::blurhash: core::option::Option<alloc::string::String> 2100 pub radroots_event::media::file_metadata::FileMetadata::content: core::option::Option<alloc::string::String> 2101 pub radroots_event::media::file_metadata::FileMetadata::content_hashes: core::option::Option<alloc::vec::Vec<alloc::string::String>> 2102 pub radroots_event::media::file_metadata::FileMetadata::dimensions: core::option::Option<radroots_event::social::SocialMediaDimensions> 2103 pub radroots_event::media::file_metadata::FileMetadata::fallback: core::option::Option<alloc::string::String> 2104 pub radroots_event::media::file_metadata::FileMetadata::magnet: core::option::Option<alloc::string::String> 2105 pub radroots_event::media::file_metadata::FileMetadata::mime_type: alloc::string::String 2106 pub radroots_event::media::file_metadata::FileMetadata::original_sha256: core::option::Option<alloc::string::String> 2107 pub radroots_event::media::file_metadata::FileMetadata::services: core::option::Option<alloc::vec::Vec<alloc::string::String>> 2108 pub radroots_event::media::file_metadata::FileMetadata::sha256: alloc::string::String 2109 pub radroots_event::media::file_metadata::FileMetadata::size: core::option::Option<u64> 2110 pub radroots_event::media::file_metadata::FileMetadata::summary: core::option::Option<alloc::string::String> 2111 pub radroots_event::media::file_metadata::FileMetadata::thumbnails: core::option::Option<alloc::vec::Vec<radroots_event::social::SocialMediaThumbnail>> 2112 pub radroots_event::media::file_metadata::FileMetadata::url: alloc::string::String 2113 #[non_exhaustive] pub enum radroots_event::media::AuthoredImageError 2114 pub radroots_event::media::AuthoredImageError::MediaTypeNotImage 2115 impl radroots_event::media::AuthoredImageError 2116 pub const fn radroots_event::media::AuthoredImageError::code(&self) -> &'static str 2117 impl core::error::Error for radroots_event::media::AuthoredImageError 2118 impl core::fmt::Display for radroots_event::media::AuthoredImageError 2119 pub fn radroots_event::media::AuthoredImageError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 2120 pub struct radroots_event::media::AuthoredImage(_) 2121 impl radroots_event::media::AuthoredImage 2122 pub fn radroots_event::media::AuthoredImage::descriptor(&self) -> &radroots_blossom::descriptor::ByteVerifiedDescriptor 2123 pub fn radroots_event::media::AuthoredImage::try_from_verified_descriptor(radroots_blossom::descriptor::ByteVerifiedDescriptor) -> core::result::Result<Self, radroots_event::media::AuthoredImageError> 2124 impl core::convert::TryFrom<radroots_blossom::descriptor::ByteVerifiedDescriptor> for radroots_event::media::AuthoredImage 2125 pub type radroots_event::media::AuthoredImage::Error = radroots_event::media::AuthoredImageError 2126 pub fn radroots_event::media::AuthoredImage::try_from(radroots_blossom::descriptor::ByteVerifiedDescriptor) -> core::result::Result<Self, Self::Error> 2127 pub mod radroots_event::post 2128 pub mod radroots_event::post::article 2129 pub struct radroots_event::post::article::Article 2130 pub radroots_event::post::article::Article::content: alloc::string::String 2131 pub radroots_event::post::article::Article::d_tag: alloc::string::String 2132 pub radroots_event::post::article::Article::farm: core::option::Option<radroots_event::social::SocialFarmAnchor> 2133 pub radroots_event::post::article::Article::image: core::option::Option<alloc::string::String> 2134 pub radroots_event::post::article::Article::location: core::option::Option<radroots_event::social::SocialLocation> 2135 pub radroots_event::post::article::Article::published_at: core::option::Option<u64> 2136 pub radroots_event::post::article::Article::summary: core::option::Option<alloc::string::String> 2137 pub radroots_event::post::article::Article::title: alloc::string::String 2138 pub radroots_event::post::article::Article::topics: core::option::Option<alloc::vec::Vec<alloc::string::String>> 2139 pub mod radroots_event::post::comment 2140 #[non_exhaustive] pub enum radroots_event::post::comment::Nip22CommentError 2141 pub radroots_event::post::comment::Nip22CommentError::ContentMissing 2142 pub radroots_event::post::comment::Nip22CommentError::ContentTooLarge 2143 pub radroots_event::post::comment::Nip22CommentError::ContentTooLarge::actual: usize 2144 pub radroots_event::post::comment::Nip22CommentError::ContentTooLarge::max: usize 2145 pub radroots_event::post::comment::Nip22CommentError::EventWireTooLarge 2146 pub radroots_event::post::comment::Nip22CommentError::EventWireTooLarge::actual: usize 2147 pub radroots_event::post::comment::Nip22CommentError::EventWireTooLarge::max: usize 2148 pub radroots_event::post::comment::Nip22CommentError::ParentAuthorInvalid(radroots_event::id::ParseError) 2149 pub radroots_event::post::comment::Nip22CommentError::ParentEventIdInvalid(radroots_event::id::ParseError) 2150 pub radroots_event::post::comment::Nip22CommentError::ParentReferenceMismatch 2151 pub radroots_event::post::comment::Nip22CommentError::RelayInvalid(radroots_event::id::ParseError) 2152 pub radroots_event::post::comment::Nip22CommentError::RevisionEventIdInvalid(radroots_event::id::ParseError) 2153 pub radroots_event::post::comment::Nip22CommentError::RootAuthorInvalid(radroots_event::id::ParseError) 2154 pub radroots_event::post::comment::Nip22CommentError::RootCoordinateInvalid(radroots_event::id::ParseError) 2155 pub radroots_event::post::comment::Nip22CommentError::RootEventIdInvalid(radroots_event::id::ParseError) 2156 pub radroots_event::post::comment::Nip22CommentError::RootKindUnsupported 2157 pub radroots_event::post::comment::Nip22CommentError::RootKindUnsupported::actual: u32 2158 pub radroots_event::post::comment::Nip22CommentError::TagBytesExceeded 2159 pub radroots_event::post::comment::Nip22CommentError::TagBytesExceeded::actual: usize 2160 pub radroots_event::post::comment::Nip22CommentError::TagBytesExceeded::max: usize 2161 pub radroots_event::post::comment::Nip22CommentError::TagCountExceeded 2162 pub radroots_event::post::comment::Nip22CommentError::TagCountExceeded::actual: usize 2163 pub radroots_event::post::comment::Nip22CommentError::TagCountExceeded::max: usize 2164 pub radroots_event::post::comment::Nip22CommentError::TagElementCountExceeded 2165 pub radroots_event::post::comment::Nip22CommentError::TagElementCountExceeded::actual: usize 2166 pub radroots_event::post::comment::Nip22CommentError::TagElementCountExceeded::max: usize 2167 pub radroots_event::post::comment::Nip22CommentError::TagElementTooLarge 2168 pub radroots_event::post::comment::Nip22CommentError::TagElementTooLarge::actual: usize 2169 pub radroots_event::post::comment::Nip22CommentError::TagElementTooLarge::max: usize 2170 impl radroots_event::post::comment::Nip22CommentError 2171 pub const fn radroots_event::post::comment::Nip22CommentError::code(&self) -> &'static str 2172 impl core::error::Error for radroots_event::post::comment::Nip22CommentError 2173 pub fn radroots_event::post::comment::Nip22CommentError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)> 2174 impl core::fmt::Display for radroots_event::post::comment::Nip22CommentError 2175 pub fn radroots_event::post::comment::Nip22CommentError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 2176 pub enum radroots_event::post::comment::Nip22CommentPosition 2177 pub radroots_event::post::comment::Nip22CommentPosition::Nested 2178 pub radroots_event::post::comment::Nip22CommentPosition::Nested::parent: radroots_event::post::comment::Nip22CommentParentReference 2179 pub radroots_event::post::comment::Nip22CommentPosition::TopLevelAddress 2180 pub radroots_event::post::comment::Nip22CommentPosition::TopLevelAddress::current_revision: radroots_event::id::EventId 2181 pub radroots_event::post::comment::Nip22CommentPosition::TopLevelEvent 2182 pub enum radroots_event::post::comment::Nip22CommentRoot 2183 pub radroots_event::post::comment::Nip22CommentRoot::Address(radroots_event::post::comment::Nip22AddressRootReference) 2184 pub radroots_event::post::comment::Nip22CommentRoot::Event(radroots_event::post::comment::Nip22EventRootReference) 2185 impl radroots_event::post::comment::Nip22CommentRoot 2186 pub const fn radroots_event::post::comment::Nip22CommentRoot::author(&self) -> &radroots_identity::key::PublicKey 2187 pub const fn radroots_event::post::comment::Nip22CommentRoot::kind(&self) -> radroots_event::post::comment::Nip22CommentRootKind 2188 pub const fn radroots_event::post::comment::Nip22CommentRoot::relay(&self) -> core::option::Option<&radroots_event::tag::relay_hint::NostrRelayHint> 2189 impl core::convert::From<radroots_event::post::comment::Nip22AddressRootReference> for radroots_event::post::comment::Nip22CommentRoot 2190 pub fn radroots_event::post::comment::Nip22CommentRoot::from(radroots_event::post::comment::Nip22AddressRootReference) -> Self 2191 impl core::convert::From<radroots_event::post::comment::Nip22EventRootReference> for radroots_event::post::comment::Nip22CommentRoot 2192 pub fn radroots_event::post::comment::Nip22CommentRoot::from(radroots_event::post::comment::Nip22EventRootReference) -> Self 2193 pub enum radroots_event::post::comment::Nip22CommentRootKind 2194 pub radroots_event::post::comment::Nip22CommentRootKind::Article 2195 pub radroots_event::post::comment::Nip22CommentRootKind::CalendarDateEvent 2196 pub radroots_event::post::comment::Nip22CommentRootKind::CalendarTimeEvent 2197 pub radroots_event::post::comment::Nip22CommentRootKind::ClassifiedListing 2198 impl radroots_event::post::comment::Nip22CommentRootKind 2199 pub const fn radroots_event::post::comment::Nip22CommentRootKind::as_u32(self) -> u32 2200 pub const fn radroots_event::post::comment::Nip22CommentRootKind::parse(u32) -> core::result::Result<Self, radroots_event::post::comment::Nip22CommentError> 2201 impl core::convert::From<radroots_event::post::comment::Nip22CommentRootKind> for u32 2202 pub fn u32::from(radroots_event::post::comment::Nip22CommentRootKind) -> Self 2203 impl core::convert::TryFrom<u32> for radroots_event::post::comment::Nip22CommentRootKind 2204 pub type radroots_event::post::comment::Nip22CommentRootKind::Error = radroots_event::post::comment::Nip22CommentError 2205 pub fn radroots_event::post::comment::Nip22CommentRootKind::try_from(u32) -> core::result::Result<Self, Self::Error> 2206 pub struct radroots_event::post::comment::AuthoredNip22Comment 2207 impl radroots_event::post::comment::AuthoredNip22Comment 2208 pub fn radroots_event::post::comment::AuthoredNip22Comment::content(&self) -> &str 2209 pub fn radroots_event::post::comment::AuthoredNip22Comment::nested(impl core::convert::Into<alloc::string::String>, impl core::convert::Into<radroots_event::post::comment::Nip22CommentRoot>, radroots_event::post::comment::Nip22CommentParentReference) -> core::result::Result<Self, radroots_event::post::comment::Nip22CommentError> 2210 pub fn radroots_event::post::comment::AuthoredNip22Comment::parse_top_level_address(impl core::convert::Into<alloc::string::String>, radroots_event::post::comment::Nip22AddressRootReference, impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_event::post::comment::Nip22CommentError> 2211 pub const fn radroots_event::post::comment::AuthoredNip22Comment::position(&self) -> &radroots_event::post::comment::Nip22CommentPosition 2212 pub const fn radroots_event::post::comment::AuthoredNip22Comment::root(&self) -> &radroots_event::post::comment::Nip22CommentRoot 2213 pub fn radroots_event::post::comment::AuthoredNip22Comment::top_level_address(impl core::convert::Into<alloc::string::String>, radroots_event::post::comment::Nip22AddressRootReference, radroots_event::id::EventId) -> core::result::Result<Self, radroots_event::post::comment::Nip22CommentError> 2214 pub fn radroots_event::post::comment::AuthoredNip22Comment::top_level_event(impl core::convert::Into<alloc::string::String>, radroots_event::post::comment::Nip22EventRootReference) -> core::result::Result<Self, radroots_event::post::comment::Nip22CommentError> 2215 pub struct radroots_event::post::comment::Nip22AddressRootReference 2216 impl radroots_event::post::comment::Nip22AddressRootReference 2217 pub const fn radroots_event::post::comment::Nip22AddressRootReference::author(&self) -> &radroots_identity::key::PublicKey 2218 pub const fn radroots_event::post::comment::Nip22AddressRootReference::coordinate(&self) -> &radroots_event::id::AddressableCoordinate 2219 pub const fn radroots_event::post::comment::Nip22AddressRootReference::kind(&self) -> radroots_event::post::comment::Nip22CommentRootKind 2220 pub fn radroots_event::post::comment::Nip22AddressRootReference::new(radroots_event::id::AddressableCoordinate, core::option::Option<radroots_event::tag::relay_hint::NostrRelayHint>) -> core::result::Result<Self, radroots_event::post::comment::Nip22CommentError> 2221 pub fn radroots_event::post::comment::Nip22AddressRootReference::parse(impl core::convert::AsRef<str>, core::option::Option<&str>) -> core::result::Result<Self, radroots_event::post::comment::Nip22CommentError> 2222 pub const fn radroots_event::post::comment::Nip22AddressRootReference::relay(&self) -> core::option::Option<&radroots_event::tag::relay_hint::NostrRelayHint> 2223 pub fn radroots_event::post::comment::Nip22AddressRootReference::relay_or_empty(&self) -> &str 2224 impl core::convert::From<radroots_event::post::comment::Nip22AddressRootReference> for radroots_event::post::comment::Nip22CommentRoot 2225 pub fn radroots_event::post::comment::Nip22CommentRoot::from(radroots_event::post::comment::Nip22AddressRootReference) -> Self 2226 pub struct radroots_event::post::comment::Nip22CommentParentReference 2227 impl radroots_event::post::comment::Nip22CommentParentReference 2228 pub const fn radroots_event::post::comment::Nip22CommentParentReference::author(&self) -> &radroots_identity::key::PublicKey 2229 pub const fn radroots_event::post::comment::Nip22CommentParentReference::event_id(&self) -> &radroots_event::id::EventId 2230 pub fn radroots_event::post::comment::Nip22CommentParentReference::new(radroots_event::id::EventId, radroots_identity::key::PublicKey, core::option::Option<radroots_event::tag::relay_hint::NostrRelayHint>) -> core::result::Result<Self, radroots_event::post::comment::Nip22CommentError> 2231 pub fn radroots_event::post::comment::Nip22CommentParentReference::parse(impl core::convert::AsRef<str>, impl core::convert::AsRef<str>, core::option::Option<&str>) -> core::result::Result<Self, radroots_event::post::comment::Nip22CommentError> 2232 pub const fn radroots_event::post::comment::Nip22CommentParentReference::relay(&self) -> core::option::Option<&radroots_event::tag::relay_hint::NostrRelayHint> 2233 pub fn radroots_event::post::comment::Nip22CommentParentReference::relay_or_empty(&self) -> &str 2234 pub struct radroots_event::post::comment::Nip22EventRootReference 2235 impl radroots_event::post::comment::Nip22EventRootReference 2236 pub const fn radroots_event::post::comment::Nip22EventRootReference::author(&self) -> &radroots_identity::key::PublicKey 2237 pub const fn radroots_event::post::comment::Nip22EventRootReference::event_id(&self) -> &radroots_event::id::EventId 2238 pub const fn radroots_event::post::comment::Nip22EventRootReference::kind(&self) -> radroots_event::post::comment::Nip22CommentRootKind 2239 pub fn radroots_event::post::comment::Nip22EventRootReference::new(radroots_event::id::EventId, radroots_identity::key::PublicKey, radroots_event::post::comment::Nip22CommentRootKind, core::option::Option<radroots_event::tag::relay_hint::NostrRelayHint>) -> core::result::Result<Self, radroots_event::post::comment::Nip22CommentError> 2240 pub fn radroots_event::post::comment::Nip22EventRootReference::parse(impl core::convert::AsRef<str>, impl core::convert::AsRef<str>, u32, core::option::Option<&str>) -> core::result::Result<Self, radroots_event::post::comment::Nip22CommentError> 2241 pub const fn radroots_event::post::comment::Nip22EventRootReference::relay(&self) -> core::option::Option<&radroots_event::tag::relay_hint::NostrRelayHint> 2242 pub fn radroots_event::post::comment::Nip22EventRootReference::relay_or_empty(&self) -> &str 2243 impl core::convert::From<radroots_event::post::comment::Nip22EventRootReference> for radroots_event::post::comment::Nip22CommentRoot 2244 pub fn radroots_event::post::comment::Nip22CommentRoot::from(radroots_event::post::comment::Nip22EventRootReference) -> Self 2245 pub const radroots_event::post::comment::RADROOTS_NIP22_COMMENT_CONTENT_MAX_BYTES: usize 2246 pub const radroots_event::post::comment::RADROOTS_NIP22_COMMENT_EVENT_WIRE_MAX_BYTES: usize 2247 pub const radroots_event::post::comment::RADROOTS_NIP22_COMMENT_TAG_ELEMENT_MAX_BYTES: usize 2248 pub const radroots_event::post::comment::RADROOTS_NIP22_COMMENT_TAG_MAX_COUNT: usize 2249 pub const radroots_event::post::comment::RADROOTS_NIP22_COMMENT_TAG_TOTAL_ELEMENT_MAX_COUNT: usize 2250 pub const radroots_event::post::comment::RADROOTS_NIP22_COMMENT_TAG_TOTAL_MAX_BYTES: usize 2251 pub mod radroots_event::post::deletion 2252 #[non_exhaustive] pub enum radroots_event::post::deletion::Nip09DeletionError 2253 pub radroots_event::post::deletion::Nip09DeletionError::ContentTooLarge 2254 pub radroots_event::post::deletion::Nip09DeletionError::ContentTooLarge::actual: usize 2255 pub radroots_event::post::deletion::Nip09DeletionError::ContentTooLarge::max: usize 2256 pub radroots_event::post::deletion::Nip09DeletionError::CoordinateInvalid(radroots_event::id::Nip01CoordinateParseError) 2257 pub radroots_event::post::deletion::Nip09DeletionError::DuplicateAddressTarget 2258 pub radroots_event::post::deletion::Nip09DeletionError::DuplicateAddressTarget::coordinate: alloc::string::String 2259 pub radroots_event::post::deletion::Nip09DeletionError::DuplicateEventTarget 2260 pub radroots_event::post::deletion::Nip09DeletionError::DuplicateEventTarget::event_id: alloc::string::String 2261 pub radroots_event::post::deletion::Nip09DeletionError::EventIdInvalid(radroots_event::id::ParseError) 2262 pub radroots_event::post::deletion::Nip09DeletionError::EventWireTooLarge 2263 pub radroots_event::post::deletion::Nip09DeletionError::EventWireTooLarge::actual: usize 2264 pub radroots_event::post::deletion::Nip09DeletionError::EventWireTooLarge::max: usize 2265 pub radroots_event::post::deletion::Nip09DeletionError::TagBytesExceeded 2266 pub radroots_event::post::deletion::Nip09DeletionError::TagBytesExceeded::actual: usize 2267 pub radroots_event::post::deletion::Nip09DeletionError::TagBytesExceeded::max: usize 2268 pub radroots_event::post::deletion::Nip09DeletionError::TagCountExceeded 2269 pub radroots_event::post::deletion::Nip09DeletionError::TagCountExceeded::actual: usize 2270 pub radroots_event::post::deletion::Nip09DeletionError::TagCountExceeded::max: usize 2271 pub radroots_event::post::deletion::Nip09DeletionError::TagElementTooLarge 2272 pub radroots_event::post::deletion::Nip09DeletionError::TagElementTooLarge::actual: usize 2273 pub radroots_event::post::deletion::Nip09DeletionError::TagElementTooLarge::max: usize 2274 pub radroots_event::post::deletion::Nip09DeletionError::TargetKindOutOfRange 2275 pub radroots_event::post::deletion::Nip09DeletionError::TargetKindOutOfRange::actual: u32 2276 pub radroots_event::post::deletion::Nip09DeletionError::TargetKindOutOfRange::max: u32 2277 pub radroots_event::post::deletion::Nip09DeletionError::TargetMissing 2278 impl radroots_event::post::deletion::Nip09DeletionError 2279 pub const fn radroots_event::post::deletion::Nip09DeletionError::code(&self) -> &'static str 2280 impl core::error::Error for radroots_event::post::deletion::Nip09DeletionError 2281 pub fn radroots_event::post::deletion::Nip09DeletionError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)> 2282 impl core::fmt::Display for radroots_event::post::deletion::Nip09DeletionError 2283 pub fn radroots_event::post::deletion::Nip09DeletionError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 2284 pub struct radroots_event::post::deletion::AuthoredNip09DeletionRequest 2285 impl radroots_event::post::deletion::AuthoredNip09DeletionRequest 2286 pub fn radroots_event::post::deletion::AuthoredNip09DeletionRequest::address_targets(&self) -> &[radroots_event::post::deletion::Nip09DeletionAddressTarget] 2287 pub fn radroots_event::post::deletion::AuthoredNip09DeletionRequest::content(&self) -> &str 2288 pub fn radroots_event::post::deletion::AuthoredNip09DeletionRequest::event_targets(&self) -> &[radroots_event::post::deletion::Nip09DeletionEventTarget] 2289 pub fn radroots_event::post::deletion::AuthoredNip09DeletionRequest::kind_hints(&self) -> &[u32] 2290 pub const fn radroots_event::post::deletion::AuthoredNip09DeletionRequest::maximum_signed_event_wire_bytes(&self) -> usize 2291 pub fn radroots_event::post::deletion::AuthoredNip09DeletionRequest::new(impl core::convert::Into<alloc::string::String>, alloc::vec::Vec<radroots_event::post::deletion::Nip09DeletionEventTarget>, alloc::vec::Vec<radroots_event::post::deletion::Nip09DeletionAddressTarget>) -> core::result::Result<Self, radroots_event::post::deletion::Nip09DeletionError> 2292 pub fn radroots_event::post::deletion::AuthoredNip09DeletionRequest::target_count(&self) -> usize 2293 pub struct radroots_event::post::deletion::Nip09DeletionAddressTarget 2294 impl radroots_event::post::deletion::Nip09DeletionAddressTarget 2295 pub const fn radroots_event::post::deletion::Nip09DeletionAddressTarget::coordinate(&self) -> &radroots_event::id::Nip01Coordinate 2296 pub const fn radroots_event::post::deletion::Nip09DeletionAddressTarget::kind_hint(&self) -> u32 2297 pub const fn radroots_event::post::deletion::Nip09DeletionAddressTarget::new(radroots_event::id::Nip01Coordinate) -> Self 2298 pub fn radroots_event::post::deletion::Nip09DeletionAddressTarget::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_event::post::deletion::Nip09DeletionError> 2299 pub struct radroots_event::post::deletion::Nip09DeletionEventTarget 2300 impl radroots_event::post::deletion::Nip09DeletionEventTarget 2301 pub const fn radroots_event::post::deletion::Nip09DeletionEventTarget::event_id(&self) -> &radroots_event::id::EventId 2302 pub const fn radroots_event::post::deletion::Nip09DeletionEventTarget::kind_hint(&self) -> u32 2303 pub fn radroots_event::post::deletion::Nip09DeletionEventTarget::new(radroots_event::id::EventId, u32) -> core::result::Result<Self, radroots_event::post::deletion::Nip09DeletionError> 2304 pub fn radroots_event::post::deletion::Nip09DeletionEventTarget::parse(impl core::convert::AsRef<str>, u32) -> core::result::Result<Self, radroots_event::post::deletion::Nip09DeletionError> 2305 pub const radroots_event::post::deletion::RADROOTS_NIP09_DELETION_CONTENT_MAX_BYTES: usize 2306 pub const radroots_event::post::deletion::RADROOTS_NIP09_DELETION_EVENT_WIRE_MAX_BYTES: usize 2307 pub const radroots_event::post::deletion::RADROOTS_NIP09_DELETION_TAG_ELEMENT_MAX_BYTES: usize 2308 pub const radroots_event::post::deletion::RADROOTS_NIP09_DELETION_TAG_MAX_COUNT: usize 2309 pub const radroots_event::post::deletion::RADROOTS_NIP09_DELETION_TAG_TOTAL_ELEMENT_MAX_COUNT: usize 2310 pub const radroots_event::post::deletion::RADROOTS_NIP09_DELETION_TAG_TOTAL_MAX_BYTES: usize 2311 pub const radroots_event::post::deletion::RADROOTS_NIP09_DELETION_TARGET_KIND_MAX: u32 2312 pub mod radroots_event::post::document 2313 pub struct radroots_event::post::document::Document 2314 pub radroots_event::post::document::Document::body_markdown: core::option::Option<alloc::string::String> 2315 pub radroots_event::post::document::Document::d_tag: alloc::string::String 2316 pub radroots_event::post::document::Document::doc_type: alloc::string::String 2317 pub radroots_event::post::document::Document::effective_at: core::option::Option<u32> 2318 pub radroots_event::post::document::Document::subject: radroots_event::post::document::DocumentSubject 2319 pub radroots_event::post::document::Document::summary: core::option::Option<alloc::string::String> 2320 pub radroots_event::post::document::Document::tags: core::option::Option<alloc::vec::Vec<alloc::string::String>> 2321 pub radroots_event::post::document::Document::title: alloc::string::String 2322 pub radroots_event::post::document::Document::version: alloc::string::String 2323 pub struct radroots_event::post::document::DocumentSubject 2324 pub radroots_event::post::document::DocumentSubject::address: core::option::Option<alloc::string::String> 2325 pub radroots_event::post::document::DocumentSubject::pubkey: alloc::string::String 2326 pub mod radroots_event::post::reaction 2327 pub struct radroots_event::post::reaction::Reaction 2328 pub radroots_event::post::reaction::Reaction::content: alloc::string::String 2329 pub radroots_event::post::reaction::Reaction::target: radroots_event::social::SocialTarget 2330 pub mod radroots_event::post::reply 2331 #[non_exhaustive] pub enum radroots_event::post::reply::Nip10ReplyError 2332 pub radroots_event::post::reply::Nip10ReplyError::AuthorInvalid(radroots_event::id::ParseError) 2333 pub radroots_event::post::reply::Nip10ReplyError::ContentMissing 2334 pub radroots_event::post::reply::Nip10ReplyError::ContentTooLarge 2335 pub radroots_event::post::reply::Nip10ReplyError::ContentTooLarge::actual: usize 2336 pub radroots_event::post::reply::Nip10ReplyError::ContentTooLarge::max: usize 2337 pub radroots_event::post::reply::Nip10ReplyError::EventIdInvalid(radroots_event::id::ParseError) 2338 pub radroots_event::post::reply::Nip10ReplyError::EventWireTooLarge 2339 pub radroots_event::post::reply::Nip10ReplyError::EventWireTooLarge::actual: usize 2340 pub radroots_event::post::reply::Nip10ReplyError::EventWireTooLarge::max: usize 2341 pub radroots_event::post::reply::Nip10ReplyError::NestedParentMatchesRoot 2342 pub radroots_event::post::reply::Nip10ReplyError::RelayInvalid(radroots_event::id::ParseError) 2343 pub radroots_event::post::reply::Nip10ReplyError::TagBytesExceeded 2344 pub radroots_event::post::reply::Nip10ReplyError::TagBytesExceeded::actual: usize 2345 pub radroots_event::post::reply::Nip10ReplyError::TagBytesExceeded::max: usize 2346 pub radroots_event::post::reply::Nip10ReplyError::TagElementTooLarge 2347 pub radroots_event::post::reply::Nip10ReplyError::TagElementTooLarge::actual: usize 2348 pub radroots_event::post::reply::Nip10ReplyError::TagElementTooLarge::max: usize 2349 impl radroots_event::post::reply::Nip10ReplyError 2350 pub const fn radroots_event::post::reply::Nip10ReplyError::code(&self) -> &'static str 2351 impl core::error::Error for radroots_event::post::reply::Nip10ReplyError 2352 pub fn radroots_event::post::reply::Nip10ReplyError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)> 2353 impl core::fmt::Display for radroots_event::post::reply::Nip10ReplyError 2354 pub fn radroots_event::post::reply::Nip10ReplyError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 2355 pub struct radroots_event::post::reply::AuthoredNip10Reply 2356 impl radroots_event::post::reply::AuthoredNip10Reply 2357 pub fn radroots_event::post::reply::AuthoredNip10Reply::content(&self) -> &str 2358 pub fn radroots_event::post::reply::AuthoredNip10Reply::direct(impl core::convert::Into<alloc::string::String>, radroots_event::post::reply::Nip10ReplyReference) -> core::result::Result<Self, radroots_event::post::reply::Nip10ReplyError> 2359 pub const fn radroots_event::post::reply::AuthoredNip10Reply::is_direct(&self) -> bool 2360 pub fn radroots_event::post::reply::AuthoredNip10Reply::nested(impl core::convert::Into<alloc::string::String>, radroots_event::post::reply::Nip10ReplyReference, radroots_event::post::reply::Nip10ReplyReference) -> core::result::Result<Self, radroots_event::post::reply::Nip10ReplyError> 2361 pub const fn radroots_event::post::reply::AuthoredNip10Reply::parent(&self) -> core::option::Option<&radroots_event::post::reply::Nip10ReplyReference> 2362 pub const fn radroots_event::post::reply::AuthoredNip10Reply::root(&self) -> &radroots_event::post::reply::Nip10ReplyReference 2363 pub struct radroots_event::post::reply::Nip10ReplyReference 2364 impl radroots_event::post::reply::Nip10ReplyReference 2365 pub const fn radroots_event::post::reply::Nip10ReplyReference::author(&self) -> &radroots_identity::key::PublicKey 2366 pub const fn radroots_event::post::reply::Nip10ReplyReference::event_id(&self) -> &radroots_event::id::EventId 2367 pub fn radroots_event::post::reply::Nip10ReplyReference::new(radroots_event::id::EventId, radroots_identity::key::PublicKey, core::option::Option<radroots_event::tag::relay_hint::NostrRelayHint>) -> core::result::Result<Self, radroots_event::post::reply::Nip10ReplyError> 2368 pub fn radroots_event::post::reply::Nip10ReplyReference::parse(impl core::convert::AsRef<str>, impl core::convert::AsRef<str>, core::option::Option<&str>) -> core::result::Result<Self, radroots_event::post::reply::Nip10ReplyError> 2369 pub const fn radroots_event::post::reply::Nip10ReplyReference::relay(&self) -> core::option::Option<&radroots_event::tag::relay_hint::NostrRelayHint> 2370 pub fn radroots_event::post::reply::Nip10ReplyReference::relay_or_empty(&self) -> &str 2371 pub mod radroots_event::post::report 2372 pub struct radroots_event::post::report::Report 2373 pub radroots_event::post::report::Report::content: core::option::Option<alloc::string::String> 2374 pub radroots_event::post::report::Report::event: core::option::Option<radroots_event::social::SocialTarget> 2375 pub radroots_event::post::report::Report::file: core::option::Option<radroots_event::social::ReportFileTarget> 2376 pub radroots_event::post::report::Report::report_type: radroots_event::social::ReportType 2377 pub radroots_event::post::report::Report::reported_pubkey: alloc::string::String 2378 pub mod radroots_event::post::repost 2379 pub struct radroots_event::post::repost::GenericRepost 2380 pub radroots_event::post::repost::GenericRepost::content: core::option::Option<alloc::string::String> 2381 pub radroots_event::post::repost::GenericRepost::target: radroots_event::social::SocialTarget 2382 pub radroots_event::post::repost::GenericRepost::target_kind: u32 2383 pub struct radroots_event::post::repost::Repost 2384 pub radroots_event::post::repost::Repost::content: core::option::Option<alloc::string::String> 2385 pub radroots_event::post::repost::Repost::target: radroots_event::social::SocialTarget 2386 #[non_exhaustive] pub enum radroots_event::post::AuthoredPostError 2387 pub radroots_event::post::AuthoredPostError::ContentMissing 2388 pub radroots_event::post::AuthoredPostError::ContentTooLarge 2389 pub radroots_event::post::AuthoredPostError::ContentTooLarge::actual: usize 2390 pub radroots_event::post::AuthoredPostError::ContentTooLarge::max: usize 2391 pub radroots_event::post::AuthoredPostError::DuplicateImageUrl 2392 pub radroots_event::post::AuthoredPostError::EventWireTooLarge 2393 pub radroots_event::post::AuthoredPostError::EventWireTooLarge::actual: usize 2394 pub radroots_event::post::AuthoredPostError::EventWireTooLarge::max: usize 2395 pub radroots_event::post::AuthoredPostError::ImageAltInvalid 2396 pub radroots_event::post::AuthoredPostError::ImageAltTooLarge 2397 pub radroots_event::post::AuthoredPostError::ImageAltTooLarge::actual: usize 2398 pub radroots_event::post::AuthoredPostError::ImageAltTooLarge::max: usize 2399 pub radroots_event::post::AuthoredPostError::ImageCountExceeded 2400 pub radroots_event::post::AuthoredPostError::ImageCountExceeded::actual: usize 2401 pub radroots_event::post::AuthoredPostError::ImageCountExceeded::max: usize 2402 pub radroots_event::post::AuthoredPostError::ImageDimensionsInvalid 2403 pub radroots_event::post::AuthoredPostError::ImageFallbackHashMismatch 2404 pub radroots_event::post::AuthoredPostError::ImageMediaTypeInvalid 2405 pub radroots_event::post::AuthoredPostError::ImageMissing 2406 pub radroots_event::post::AuthoredPostError::ImageSizeInvalid 2407 pub radroots_event::post::AuthoredPostError::ImageUrlOccurrenceCount 2408 pub radroots_event::post::AuthoredPostError::ImageUrlOccurrenceCount::actual: usize 2409 pub radroots_event::post::AuthoredPostError::ImageUrlOccurrenceCount::expected: usize 2410 pub radroots_event::post::AuthoredPostError::ImageUrlOverlap 2411 pub radroots_event::post::AuthoredPostError::TagBytesExceeded 2412 pub radroots_event::post::AuthoredPostError::TagBytesExceeded::actual: usize 2413 pub radroots_event::post::AuthoredPostError::TagBytesExceeded::max: usize 2414 pub radroots_event::post::AuthoredPostError::TagElementTooLarge 2415 pub radroots_event::post::AuthoredPostError::TagElementTooLarge::actual: usize 2416 pub radroots_event::post::AuthoredPostError::TagElementTooLarge::max: usize 2417 impl radroots_event::post::AuthoredPostError 2418 pub const fn radroots_event::post::AuthoredPostError::code(&self) -> &'static str 2419 impl core::error::Error for radroots_event::post::AuthoredPostError 2420 impl core::fmt::Display for radroots_event::post::AuthoredPostError 2421 pub fn radroots_event::post::AuthoredPostError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 2422 pub struct radroots_event::post::AuthoredAsk 2423 impl radroots_event::post::AuthoredAsk 2424 pub fn radroots_event::post::AuthoredAsk::content(&self) -> &str 2425 pub fn radroots_event::post::AuthoredAsk::images(&self) -> &[radroots_event::post::AuthoredPostImage] 2426 pub fn radroots_event::post::AuthoredAsk::new(impl core::convert::Into<alloc::string::String>, alloc::vec::Vec<radroots_event::post::AuthoredPostImage>) -> core::result::Result<Self, radroots_event::post::AuthoredPostError> 2427 pub struct radroots_event::post::AuthoredPhotoUpdate 2428 impl radroots_event::post::AuthoredPhotoUpdate 2429 pub fn radroots_event::post::AuthoredPhotoUpdate::content(&self) -> &str 2430 pub fn radroots_event::post::AuthoredPhotoUpdate::images(&self) -> &[radroots_event::post::AuthoredPostImage] 2431 pub fn radroots_event::post::AuthoredPhotoUpdate::new(impl core::convert::Into<alloc::string::String>, alloc::vec::Vec<radroots_event::post::AuthoredPostImage>) -> core::result::Result<Self, radroots_event::post::AuthoredPostError> 2432 pub struct radroots_event::post::AuthoredPostImage 2433 impl radroots_event::post::AuthoredPostImage 2434 pub fn radroots_event::post::AuthoredPostImage::alt(&self) -> &str 2435 pub const fn radroots_event::post::AuthoredPostImage::dimensions(&self) -> radroots_event::post::PostImageDimensions 2436 pub fn radroots_event::post::AuthoredPostImage::fallbacks(&self) -> &[radroots_blossom::url::ApprovedBlobUrl] 2437 pub fn radroots_event::post::AuthoredPostImage::image(&self) -> &radroots_event::media::AuthoredImage 2438 pub fn radroots_event::post::AuthoredPostImage::imeta_tag(&self) -> &[alloc::string::String] 2439 pub fn radroots_event::post::AuthoredPostImage::new(radroots_event::media::AuthoredImage, radroots_event::post::PostImageDimensions, impl core::convert::Into<alloc::string::String>) -> core::result::Result<Self, radroots_event::post::AuthoredPostError> 2440 pub fn radroots_event::post::AuthoredPostImage::try_with_fallback(self, radroots_blossom::url::ApprovedBlobUrl) -> core::result::Result<Self, radroots_event::post::AuthoredPostError> 2441 pub fn radroots_event::post::AuthoredPostImage::url(&self) -> &str 2442 pub struct radroots_event::post::AuthoredUpdate 2443 impl radroots_event::post::AuthoredUpdate 2444 pub fn radroots_event::post::AuthoredUpdate::content(&self) -> &str 2445 pub fn radroots_event::post::AuthoredUpdate::new(impl core::convert::Into<alloc::string::String>) -> core::result::Result<Self, radroots_event::post::AuthoredPostError> 2446 pub struct radroots_event::post::PostImageDimensions 2447 impl radroots_event::post::PostImageDimensions 2448 pub const fn radroots_event::post::PostImageDimensions::height(self) -> u32 2449 pub const fn radroots_event::post::PostImageDimensions::new(u32, u32) -> core::result::Result<Self, radroots_event::post::AuthoredPostError> 2450 pub const fn radroots_event::post::PostImageDimensions::width(self) -> u32 2451 pub const radroots_event::post::RADROOTS_ASK_MARKER_TAG_KEY: &str 2452 pub const radroots_event::post::RADROOTS_ASK_MARKER_TAG_VALUE: &str 2453 pub const radroots_event::post::RADROOTS_POST_ALT_MAX_BYTES: usize 2454 pub const radroots_event::post::RADROOTS_POST_CONTENT_MAX_BYTES: usize 2455 pub const radroots_event::post::RADROOTS_POST_EVENT_WIRE_MAX_BYTES: usize 2456 pub const radroots_event::post::RADROOTS_POST_IMETA_MAX_COUNT: usize 2457 pub const radroots_event::post::RADROOTS_POST_TAG_ELEMENT_MAX_BYTES: usize 2458 pub const radroots_event::post::RADROOTS_POST_TAG_TOTAL_MAX_BYTES: usize 2459 pub fn radroots_event::post::post_image_media_type_is_valid(&str) -> bool 2460 pub fn radroots_event::post::post_media_http_url_is_valid(&str) -> bool 2461 pub mod radroots_event::profile 2462 pub mod radroots_event::profile::account 2463 pub struct radroots_event::profile::account::AccountClaim 2464 pub radroots_event::profile::account::AccountClaim::nip05: core::option::Option<alloc::string::String> 2465 pub radroots_event::profile::account::AccountClaim::pubkey: alloc::string::String 2466 pub radroots_event::profile::account::AccountClaim::username: alloc::string::String 2467 pub const radroots_event::profile::account::KIND_ACCOUNT_CLAIM: u32 2468 pub mod radroots_event::profile::edit 2469 pub enum radroots_event::profile::edit::ProfileFieldChange<T> 2470 pub radroots_event::profile::edit::ProfileFieldChange::Clear 2471 pub radroots_event::profile::edit::ProfileFieldChange::Keep 2472 pub radroots_event::profile::edit::ProfileFieldChange::Set(T) 2473 pub enum radroots_event::profile::edit::ProfileMediaChange 2474 pub radroots_event::profile::edit::ProfileMediaChange::Clear 2475 pub radroots_event::profile::edit::ProfileMediaChange::Keep 2476 pub radroots_event::profile::edit::ProfileMediaChange::KeepVerified(radroots_event::media::AuthoredImage) 2477 pub radroots_event::profile::edit::ProfileMediaChange::Set(radroots_event::media::AuthoredImage) 2478 pub struct radroots_event::profile::edit::ProfileEdit 2479 pub radroots_event::profile::edit::ProfileEdit::about: radroots_event::profile::edit::ProfileFieldChange<alloc::string::String> 2480 pub radroots_event::profile::edit::ProfileEdit::banner: radroots_event::profile::edit::ProfileMediaChange 2481 pub radroots_event::profile::edit::ProfileEdit::bot: radroots_event::profile::edit::ProfileFieldChange<bool> 2482 pub radroots_event::profile::edit::ProfileEdit::display_name: radroots_event::profile::edit::ProfileFieldChange<alloc::string::String> 2483 pub radroots_event::profile::edit::ProfileEdit::name: radroots_event::profile::edit::ProfileFieldChange<alloc::string::String> 2484 pub radroots_event::profile::edit::ProfileEdit::nip05: radroots_event::profile::edit::ProfileFieldChange<radroots_event::profile::Nip05Identifier> 2485 pub radroots_event::profile::edit::ProfileEdit::picture: radroots_event::profile::edit::ProfileMediaChange 2486 #[non_exhaustive] pub enum radroots_event::profile::AuthoredProfileError 2487 pub radroots_event::profile::AuthoredProfileError::InvalidName 2488 impl radroots_event::profile::AuthoredProfileError 2489 pub const fn radroots_event::profile::AuthoredProfileError::code(&self) -> &'static str 2490 impl core::error::Error for radroots_event::profile::AuthoredProfileError 2491 impl core::fmt::Display for radroots_event::profile::AuthoredProfileError 2492 pub fn radroots_event::profile::AuthoredProfileError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 2493 #[non_exhaustive] pub enum radroots_event::profile::Nip05IdentifierError 2494 pub radroots_event::profile::Nip05IdentifierError::InvalidDomain 2495 pub radroots_event::profile::Nip05IdentifierError::InvalidLocalPart 2496 pub radroots_event::profile::Nip05IdentifierError::MissingSeparator 2497 pub radroots_event::profile::Nip05IdentifierError::MultipleSeparators 2498 impl radroots_event::profile::Nip05IdentifierError 2499 pub const fn radroots_event::profile::Nip05IdentifierError::code(&self) -> &'static str 2500 impl core::error::Error for radroots_event::profile::Nip05IdentifierError 2501 impl core::fmt::Display for radroots_event::profile::Nip05IdentifierError 2502 pub fn radroots_event::profile::Nip05IdentifierError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 2503 pub enum radroots_event::profile::ProfileType 2504 pub radroots_event::profile::ProfileType::Any 2505 pub radroots_event::profile::ProfileType::Coop 2506 pub radroots_event::profile::ProfileType::Farm 2507 pub radroots_event::profile::ProfileType::Individual 2508 pub radroots_event::profile::ProfileType::Radrootsd 2509 pub struct radroots_event::profile::AuthoredProfile 2510 impl radroots_event::profile::AuthoredProfile 2511 pub fn radroots_event::profile::AuthoredProfile::about(&self) -> core::option::Option<&str> 2512 pub fn radroots_event::profile::AuthoredProfile::banner(&self) -> core::option::Option<&radroots_event::media::AuthoredImage> 2513 pub const fn radroots_event::profile::AuthoredProfile::bot(&self) -> core::option::Option<bool> 2514 pub fn radroots_event::profile::AuthoredProfile::display_name(&self) -> core::option::Option<&str> 2515 pub fn radroots_event::profile::AuthoredProfile::name(&self) -> &str 2516 pub fn radroots_event::profile::AuthoredProfile::new(impl core::convert::Into<alloc::string::String>) -> core::result::Result<Self, radroots_event::profile::AuthoredProfileError> 2517 pub fn radroots_event::profile::AuthoredProfile::nip05(&self) -> core::option::Option<&radroots_event::profile::Nip05Identifier> 2518 pub fn radroots_event::profile::AuthoredProfile::picture(&self) -> core::option::Option<&radroots_event::media::AuthoredImage> 2519 pub fn radroots_event::profile::AuthoredProfile::with_about(self, impl core::convert::Into<alloc::string::String>) -> Self 2520 pub fn radroots_event::profile::AuthoredProfile::with_banner(self, radroots_event::media::AuthoredImage) -> Self 2521 pub const fn radroots_event::profile::AuthoredProfile::with_bot(self, bool) -> Self 2522 pub fn radroots_event::profile::AuthoredProfile::with_display_name(self, impl core::convert::Into<alloc::string::String>) -> Self 2523 pub fn radroots_event::profile::AuthoredProfile::with_nip05(self, radroots_event::profile::Nip05Identifier) -> Self 2524 pub fn radroots_event::profile::AuthoredProfile::with_picture(self, radroots_event::media::AuthoredImage) -> Self 2525 pub struct radroots_event::profile::Nip05Identifier(_) 2526 impl radroots_event::profile::Nip05Identifier 2527 pub fn radroots_event::profile::Nip05Identifier::as_str(&self) -> &str 2528 pub fn radroots_event::profile::Nip05Identifier::domain(&self) -> &str 2529 pub fn radroots_event::profile::Nip05Identifier::local_part(&self) -> &str 2530 pub fn radroots_event::profile::Nip05Identifier::parse(&str) -> core::result::Result<Self, radroots_event::profile::Nip05IdentifierError> 2531 impl core::fmt::Display for radroots_event::profile::Nip05Identifier 2532 pub fn radroots_event::profile::Nip05Identifier::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 2533 impl core::str::traits::FromStr for radroots_event::profile::Nip05Identifier 2534 pub type radroots_event::profile::Nip05Identifier::Err = radroots_event::profile::Nip05IdentifierError 2535 pub fn radroots_event::profile::Nip05Identifier::from_str(&str) -> core::result::Result<Self, Self::Err> 2536 pub const radroots_event::profile::RADROOTS_PROFILE_METADATA_MAX_CONTENT_BYTES: usize 2537 pub const radroots_event::profile::RADROOTS_PROFILE_TYPE_TAG_ANY: &str 2538 pub const radroots_event::profile::RADROOTS_PROFILE_TYPE_TAG_COOP: &str 2539 pub const radroots_event::profile::RADROOTS_PROFILE_TYPE_TAG_FARM: &str 2540 pub const radroots_event::profile::RADROOTS_PROFILE_TYPE_TAG_INDIVIDUAL: &str 2541 pub const radroots_event::profile::RADROOTS_PROFILE_TYPE_TAG_KEY: &str 2542 pub const radroots_event::profile::RADROOTS_PROFILE_TYPE_TAG_RADROOTSD: &str 2543 pub fn radroots_event::profile::radroots_profile_type_from_tag_value(&str) -> core::option::Option<radroots_event::profile::ProfileType> 2544 pub fn radroots_event::profile::radroots_profile_type_tag_value(radroots_event::profile::ProfileType) -> &'static str 2545 pub mod radroots_event::social 2546 pub mod radroots_event::social::app_data 2547 pub struct radroots_event::social::app_data::AppData 2548 pub radroots_event::social::app_data::AppData::content: alloc::string::String 2549 pub radroots_event::social::app_data::AppData::d_tag: alloc::string::String 2550 pub const radroots_event::social::app_data::KIND_APP_DATA: u32 2551 pub mod radroots_event::social::follow 2552 pub struct radroots_event::social::follow::Follow 2553 pub radroots_event::social::follow::Follow::list: alloc::vec::Vec<radroots_event::social::follow::FollowProfile> 2554 pub struct radroots_event::social::follow::FollowProfile 2555 pub radroots_event::social::follow::FollowProfile::contact_name: core::option::Option<alloc::string::String> 2556 pub radroots_event::social::follow::FollowProfile::public_key: alloc::string::String 2557 pub radroots_event::social::follow::FollowProfile::published_at: u64 2558 pub radroots_event::social::follow::FollowProfile::relay_url: core::option::Option<alloc::string::String> 2559 pub mod radroots_event::social::geochat 2560 pub struct radroots_event::social::geochat::GeoChat 2561 pub radroots_event::social::geochat::GeoChat::content: alloc::string::String 2562 pub radroots_event::social::geochat::GeoChat::geohash: alloc::string::String 2563 pub radroots_event::social::geochat::GeoChat::nickname: core::option::Option<alloc::string::String> 2564 pub radroots_event::social::geochat::GeoChat::teleported: bool 2565 pub mod radroots_event::social::gift_wrap 2566 pub struct radroots_event::social::gift_wrap::GiftWrap 2567 pub radroots_event::social::gift_wrap::GiftWrap::content: alloc::string::String 2568 pub radroots_event::social::gift_wrap::GiftWrap::expiration: core::option::Option<u32> 2569 pub radroots_event::social::gift_wrap::GiftWrap::recipient: radroots_event::social::gift_wrap::GiftWrapRecipient 2570 pub struct radroots_event::social::gift_wrap::GiftWrapRecipient 2571 pub radroots_event::social::gift_wrap::GiftWrapRecipient::public_key: alloc::string::String 2572 pub radroots_event::social::gift_wrap::GiftWrapRecipient::relay_url: core::option::Option<alloc::string::String> 2573 pub mod radroots_event::social::group 2574 pub struct radroots_event::social::group::GroupAdmins 2575 pub radroots_event::social::group::GroupAdmins::admins: alloc::vec::Vec<radroots_event::social::group::GroupUserRef> 2576 pub radroots_event::social::group::GroupAdmins::d_tag: alloc::string::String 2577 pub radroots_event::social::group::GroupAdmins::description: core::option::Option<alloc::string::String> 2578 pub struct radroots_event::social::group::GroupCreateGroup 2579 pub radroots_event::social::group::GroupCreateGroup::group_id: alloc::string::String 2580 pub radroots_event::social::group::GroupCreateGroup::message: core::option::Option<alloc::string::String> 2581 pub radroots_event::social::group::GroupCreateGroup::metadata: radroots_event::social::group::GroupEditableMetadata 2582 pub struct radroots_event::social::group::GroupCreateInvite 2583 pub radroots_event::social::group::GroupCreateInvite::code: alloc::string::String 2584 pub radroots_event::social::group::GroupCreateInvite::group_id: alloc::string::String 2585 pub radroots_event::social::group::GroupCreateInvite::message: core::option::Option<alloc::string::String> 2586 pub struct radroots_event::social::group::GroupDeleteEvent 2587 pub radroots_event::social::group::GroupDeleteEvent::event_id: alloc::string::String 2588 pub radroots_event::social::group::GroupDeleteEvent::group_id: alloc::string::String 2589 pub radroots_event::social::group::GroupDeleteEvent::message: core::option::Option<alloc::string::String> 2590 pub struct radroots_event::social::group::GroupDeleteGroup 2591 pub radroots_event::social::group::GroupDeleteGroup::group_id: alloc::string::String 2592 pub radroots_event::social::group::GroupDeleteGroup::message: core::option::Option<alloc::string::String> 2593 pub struct radroots_event::social::group::GroupEditMetadata 2594 pub radroots_event::social::group::GroupEditMetadata::group_id: alloc::string::String 2595 pub radroots_event::social::group::GroupEditMetadata::message: core::option::Option<alloc::string::String> 2596 pub radroots_event::social::group::GroupEditMetadata::metadata: radroots_event::social::group::GroupEditableMetadata 2597 pub struct radroots_event::social::group::GroupEditableMetadata 2598 pub radroots_event::social::group::GroupEditableMetadata::about: core::option::Option<alloc::string::String> 2599 pub radroots_event::social::group::GroupEditableMetadata::is_closed: bool 2600 pub radroots_event::social::group::GroupEditableMetadata::is_hidden: bool 2601 pub radroots_event::social::group::GroupEditableMetadata::is_private: bool 2602 pub radroots_event::social::group::GroupEditableMetadata::is_restricted: bool 2603 pub radroots_event::social::group::GroupEditableMetadata::name: core::option::Option<alloc::string::String> 2604 pub radroots_event::social::group::GroupEditableMetadata::picture: core::option::Option<alloc::string::String> 2605 pub radroots_event::social::group::GroupEditableMetadata::supported_kinds: core::option::Option<alloc::vec::Vec<u32>> 2606 pub struct radroots_event::social::group::GroupJoinRequest 2607 pub radroots_event::social::group::GroupJoinRequest::code: core::option::Option<alloc::string::String> 2608 pub radroots_event::social::group::GroupJoinRequest::group_id: alloc::string::String 2609 pub radroots_event::social::group::GroupJoinRequest::message: core::option::Option<alloc::string::String> 2610 pub struct radroots_event::social::group::GroupLeaveRequest 2611 pub radroots_event::social::group::GroupLeaveRequest::group_id: alloc::string::String 2612 pub radroots_event::social::group::GroupLeaveRequest::message: core::option::Option<alloc::string::String> 2613 pub struct radroots_event::social::group::GroupMembers 2614 pub radroots_event::social::group::GroupMembers::d_tag: alloc::string::String 2615 pub radroots_event::social::group::GroupMembers::description: core::option::Option<alloc::string::String> 2616 pub radroots_event::social::group::GroupMembers::members: alloc::vec::Vec<radroots_event::social::group::GroupUserRef> 2617 pub struct radroots_event::social::group::GroupMetadata 2618 pub radroots_event::social::group::GroupMetadata::d_tag: alloc::string::String 2619 pub radroots_event::social::group::GroupMetadata::metadata: radroots_event::social::group::GroupEditableMetadata 2620 pub struct radroots_event::social::group::GroupPutUser 2621 pub radroots_event::social::group::GroupPutUser::group_id: alloc::string::String 2622 pub radroots_event::social::group::GroupPutUser::message: core::option::Option<alloc::string::String> 2623 pub radroots_event::social::group::GroupPutUser::pubkey: alloc::string::String 2624 pub radroots_event::social::group::GroupPutUser::roles: alloc::vec::Vec<alloc::string::String> 2625 pub struct radroots_event::social::group::GroupRemoveUser 2626 pub radroots_event::social::group::GroupRemoveUser::group_id: alloc::string::String 2627 pub radroots_event::social::group::GroupRemoveUser::message: core::option::Option<alloc::string::String> 2628 pub radroots_event::social::group::GroupRemoveUser::pubkey: alloc::string::String 2629 pub struct radroots_event::social::group::GroupRole 2630 pub radroots_event::social::group::GroupRole::description: core::option::Option<alloc::string::String> 2631 pub radroots_event::social::group::GroupRole::name: alloc::string::String 2632 pub radroots_event::social::group::GroupRole::permissions: alloc::vec::Vec<alloc::string::String> 2633 pub struct radroots_event::social::group::GroupRoles 2634 pub radroots_event::social::group::GroupRoles::d_tag: alloc::string::String 2635 pub radroots_event::social::group::GroupRoles::description: core::option::Option<alloc::string::String> 2636 pub radroots_event::social::group::GroupRoles::roles: alloc::vec::Vec<radroots_event::social::group::GroupRole> 2637 pub struct radroots_event::social::group::GroupUserRef 2638 pub radroots_event::social::group::GroupUserRef::pubkey: alloc::string::String 2639 pub radroots_event::social::group::GroupUserRef::roles: alloc::vec::Vec<alloc::string::String> 2640 pub const radroots_event::social::group::KIND_GROUP_ADMINS: u32 2641 pub const radroots_event::social::group::KIND_GROUP_CREATE_GROUP: u32 2642 pub const radroots_event::social::group::KIND_GROUP_CREATE_INVITE: u32 2643 pub const radroots_event::social::group::KIND_GROUP_DELETE_EVENT: u32 2644 pub const radroots_event::social::group::KIND_GROUP_DELETE_GROUP: u32 2645 pub const radroots_event::social::group::KIND_GROUP_EDIT_METADATA: u32 2646 pub const radroots_event::social::group::KIND_GROUP_JOIN_REQUEST: u32 2647 pub const radroots_event::social::group::KIND_GROUP_LEAVE_REQUEST: u32 2648 pub const radroots_event::social::group::KIND_GROUP_MEMBERS: u32 2649 pub const radroots_event::social::group::KIND_GROUP_METADATA: u32 2650 pub const radroots_event::social::group::KIND_GROUP_PUT_USER: u32 2651 pub const radroots_event::social::group::KIND_GROUP_REMOVE_USER: u32 2652 pub const radroots_event::social::group::KIND_GROUP_ROLES: u32 2653 pub mod radroots_event::social::http_auth 2654 pub struct radroots_event::social::http_auth::HttpAuth 2655 pub radroots_event::social::http_auth::HttpAuth::method: alloc::string::String 2656 pub radroots_event::social::http_auth::HttpAuth::payload_sha256: core::option::Option<alloc::string::String> 2657 pub radroots_event::social::http_auth::HttpAuth::url: alloc::string::String 2658 pub const radroots_event::social::http_auth::KIND_HTTP_AUTH: u32 2659 pub mod radroots_event::social::job 2660 pub enum radroots_event::social::job::JobFeedbackStatus 2661 pub radroots_event::social::job::JobFeedbackStatus::Error 2662 pub radroots_event::social::job::JobFeedbackStatus::Partial 2663 pub radroots_event::social::job::JobFeedbackStatus::PaymentRequired 2664 pub radroots_event::social::job::JobFeedbackStatus::Processing 2665 pub radroots_event::social::job::JobFeedbackStatus::Success 2666 pub enum radroots_event::social::job::JobInputType 2667 pub radroots_event::social::job::JobInputType::Event 2668 pub radroots_event::social::job::JobInputType::Job 2669 pub radroots_event::social::job::JobInputType::Text 2670 pub radroots_event::social::job::JobInputType::Url 2671 pub struct radroots_event::social::job::JobPaymentRequest 2672 pub radroots_event::social::job::JobPaymentRequest::amount_sat: u32 2673 pub radroots_event::social::job::JobPaymentRequest::bolt11: core::option::Option<alloc::string::String> 2674 pub mod radroots_event::social::job_feedback 2675 pub struct radroots_event::social::job_feedback::JobFeedback 2676 pub radroots_event::social::job_feedback::JobFeedback::content: core::option::Option<alloc::string::String> 2677 pub radroots_event::social::job_feedback::JobFeedback::customer_pubkey: core::option::Option<alloc::string::String> 2678 pub radroots_event::social::job_feedback::JobFeedback::encrypted: bool 2679 pub radroots_event::social::job_feedback::JobFeedback::extra_info: core::option::Option<alloc::string::String> 2680 pub radroots_event::social::job_feedback::JobFeedback::kind: u16 2681 pub radroots_event::social::job_feedback::JobFeedback::payment: core::option::Option<radroots_event::social::job::JobPaymentRequest> 2682 pub radroots_event::social::job_feedback::JobFeedback::request_event: radroots_event::tag::EventPtr 2683 pub radroots_event::social::job_feedback::JobFeedback::status: radroots_event::social::job::JobFeedbackStatus 2684 pub mod radroots_event::social::job_request 2685 pub struct radroots_event::social::job_request::JobInput 2686 pub radroots_event::social::job_request::JobInput::data: alloc::string::String 2687 pub radroots_event::social::job_request::JobInput::input_type: radroots_event::social::job::JobInputType 2688 pub radroots_event::social::job_request::JobInput::marker: core::option::Option<alloc::string::String> 2689 pub radroots_event::social::job_request::JobInput::relay: core::option::Option<alloc::string::String> 2690 pub struct radroots_event::social::job_request::JobParam 2691 pub radroots_event::social::job_request::JobParam::key: alloc::string::String 2692 pub radroots_event::social::job_request::JobParam::value: alloc::string::String 2693 pub struct radroots_event::social::job_request::JobRequest 2694 pub radroots_event::social::job_request::JobRequest::bid_sat: core::option::Option<u32> 2695 pub radroots_event::social::job_request::JobRequest::encrypted: bool 2696 pub radroots_event::social::job_request::JobRequest::inputs: alloc::vec::Vec<radroots_event::social::job_request::JobInput> 2697 pub radroots_event::social::job_request::JobRequest::kind: u16 2698 pub radroots_event::social::job_request::JobRequest::output: core::option::Option<alloc::string::String> 2699 pub radroots_event::social::job_request::JobRequest::params: alloc::vec::Vec<radroots_event::social::job_request::JobParam> 2700 pub radroots_event::social::job_request::JobRequest::providers: alloc::vec::Vec<alloc::string::String> 2701 pub radroots_event::social::job_request::JobRequest::relays: alloc::vec::Vec<alloc::string::String> 2702 pub radroots_event::social::job_request::JobRequest::topics: alloc::vec::Vec<alloc::string::String> 2703 pub mod radroots_event::social::job_result 2704 pub struct radroots_event::social::job_result::JobResult 2705 pub radroots_event::social::job_result::JobResult::content: core::option::Option<alloc::string::String> 2706 pub radroots_event::social::job_result::JobResult::customer_pubkey: core::option::Option<alloc::string::String> 2707 pub radroots_event::social::job_result::JobResult::encrypted: bool 2708 pub radroots_event::social::job_result::JobResult::inputs: alloc::vec::Vec<radroots_event::social::job_request::JobInput> 2709 pub radroots_event::social::job_result::JobResult::kind: u16 2710 pub radroots_event::social::job_result::JobResult::payment: core::option::Option<radroots_event::social::job::JobPaymentRequest> 2711 pub radroots_event::social::job_result::JobResult::request_event: radroots_event::tag::EventPtr 2712 pub radroots_event::social::job_result::JobResult::request_json: core::option::Option<alloc::string::String> 2713 pub mod radroots_event::social::list 2714 pub struct radroots_event::social::list::List 2715 pub radroots_event::social::list::List::content: alloc::string::String 2716 pub radroots_event::social::list::List::entries: alloc::vec::Vec<radroots_event::social::list::ListEntry> 2717 pub struct radroots_event::social::list::ListEntry 2718 pub radroots_event::social::list::ListEntry::tag: alloc::string::String 2719 pub radroots_event::social::list::ListEntry::values: alloc::vec::Vec<alloc::string::String> 2720 pub mod radroots_event::social::list_set 2721 pub struct radroots_event::social::list_set::ListSet 2722 pub radroots_event::social::list_set::ListSet::content: alloc::string::String 2723 pub radroots_event::social::list_set::ListSet::d_tag: alloc::string::String 2724 pub radroots_event::social::list_set::ListSet::description: core::option::Option<alloc::string::String> 2725 pub radroots_event::social::list_set::ListSet::entries: alloc::vec::Vec<radroots_event::social::list::ListEntry> 2726 pub radroots_event::social::list_set::ListSet::image: core::option::Option<alloc::string::String> 2727 pub radroots_event::social::list_set::ListSet::title: core::option::Option<alloc::string::String> 2728 pub mod radroots_event::social::message 2729 pub struct radroots_event::social::message::Message 2730 pub radroots_event::social::message::Message::content: alloc::string::String 2731 pub radroots_event::social::message::Message::recipients: alloc::vec::Vec<radroots_event::social::message::MessageRecipient> 2732 pub radroots_event::social::message::Message::reply_to: core::option::Option<radroots_event::tag::EventPtr> 2733 pub radroots_event::social::message::Message::subject: core::option::Option<alloc::string::String> 2734 pub struct radroots_event::social::message::MessageRecipient 2735 pub radroots_event::social::message::MessageRecipient::public_key: alloc::string::String 2736 pub radroots_event::social::message::MessageRecipient::relay_url: core::option::Option<alloc::string::String> 2737 pub mod radroots_event::social::message_file 2738 pub struct radroots_event::social::message_file::MessageFile 2739 pub radroots_event::social::message_file::MessageFile::blurhash: core::option::Option<alloc::string::String> 2740 pub radroots_event::social::message_file::MessageFile::decryption_key: alloc::string::String 2741 pub radroots_event::social::message_file::MessageFile::decryption_nonce: alloc::string::String 2742 pub radroots_event::social::message_file::MessageFile::dimensions: core::option::Option<radroots_event::social::message_file::MessageFileDimensions> 2743 pub radroots_event::social::message_file::MessageFile::encrypted_hash: alloc::string::String 2744 pub radroots_event::social::message_file::MessageFile::encryption_algorithm: alloc::string::String 2745 pub radroots_event::social::message_file::MessageFile::fallbacks: alloc::vec::Vec<alloc::string::String> 2746 pub radroots_event::social::message_file::MessageFile::file_type: alloc::string::String 2747 pub radroots_event::social::message_file::MessageFile::file_url: alloc::string::String 2748 pub radroots_event::social::message_file::MessageFile::original_hash: core::option::Option<alloc::string::String> 2749 pub radroots_event::social::message_file::MessageFile::recipients: alloc::vec::Vec<radroots_event::social::message::MessageRecipient> 2750 pub radroots_event::social::message_file::MessageFile::reply_to: core::option::Option<radroots_event::tag::EventPtr> 2751 pub radroots_event::social::message_file::MessageFile::size: core::option::Option<u64> 2752 pub radroots_event::social::message_file::MessageFile::subject: core::option::Option<alloc::string::String> 2753 pub radroots_event::social::message_file::MessageFile::thumb: core::option::Option<alloc::string::String> 2754 pub struct radroots_event::social::message_file::MessageFileDimensions 2755 pub radroots_event::social::message_file::MessageFileDimensions::h: u32 2756 pub radroots_event::social::message_file::MessageFileDimensions::w: u32 2757 pub mod radroots_event::social::relay_auth 2758 pub struct radroots_event::social::relay_auth::RelayAuth 2759 pub radroots_event::social::relay_auth::RelayAuth::challenge: alloc::string::String 2760 pub radroots_event::social::relay_auth::RelayAuth::relay: alloc::string::String 2761 pub const radroots_event::social::relay_auth::KIND_RELAY_AUTH: u32 2762 pub mod radroots_event::social::relay_document 2763 pub struct radroots_event::social::relay_document::RelayDocument 2764 pub radroots_event::social::relay_document::RelayDocument::contact: core::option::Option<alloc::string::String> 2765 pub radroots_event::social::relay_document::RelayDocument::description: core::option::Option<alloc::string::String> 2766 pub radroots_event::social::relay_document::RelayDocument::name: core::option::Option<alloc::string::String> 2767 pub radroots_event::social::relay_document::RelayDocument::pubkey: core::option::Option<alloc::string::String> 2768 pub radroots_event::social::relay_document::RelayDocument::software: core::option::Option<alloc::string::String> 2769 pub radroots_event::social::relay_document::RelayDocument::supported_nips: core::option::Option<alloc::vec::Vec<u16>> 2770 pub radroots_event::social::relay_document::RelayDocument::version: core::option::Option<alloc::string::String> 2771 pub mod radroots_event::social::seal 2772 pub struct radroots_event::social::seal::Seal 2773 pub radroots_event::social::seal::Seal::content: alloc::string::String 2774 pub enum radroots_event::social::ReportType 2775 pub radroots_event::social::ReportType::Illegal 2776 pub radroots_event::social::ReportType::Impersonation 2777 pub radroots_event::social::ReportType::Malware 2778 pub radroots_event::social::ReportType::Nudity 2779 pub radroots_event::social::ReportType::Other 2780 pub radroots_event::social::ReportType::Profanity 2781 pub radroots_event::social::ReportType::Spam 2782 pub enum radroots_event::social::SocialTarget 2783 pub radroots_event::social::SocialTarget::Address 2784 pub radroots_event::social::SocialTarget::Address::address: alloc::string::String 2785 pub radroots_event::social::SocialTarget::Address::author: core::option::Option<alloc::string::String> 2786 pub radroots_event::social::SocialTarget::Address::event_kind: core::option::Option<u32> 2787 pub radroots_event::social::SocialTarget::Address::relays: core::option::Option<alloc::vec::Vec<alloc::string::String>> 2788 pub radroots_event::social::SocialTarget::Event 2789 pub radroots_event::social::SocialTarget::Event::author: core::option::Option<alloc::string::String> 2790 pub radroots_event::social::SocialTarget::Event::event_kind: core::option::Option<u32> 2791 pub radroots_event::social::SocialTarget::Event::id: alloc::string::String 2792 pub radroots_event::social::SocialTarget::Event::relays: core::option::Option<alloc::vec::Vec<alloc::string::String>> 2793 pub radroots_event::social::SocialTarget::External 2794 pub radroots_event::social::SocialTarget::External::external_kind: alloc::string::String 2795 pub radroots_event::social::SocialTarget::External::hint: core::option::Option<alloc::string::String> 2796 pub radroots_event::social::SocialTarget::External::id: alloc::string::String 2797 pub struct radroots_event::social::ReportFileTarget 2798 pub radroots_event::social::ReportFileTarget::magnet: core::option::Option<alloc::string::String> 2799 pub radroots_event::social::ReportFileTarget::sha256: core::option::Option<alloc::string::String> 2800 pub radroots_event::social::ReportFileTarget::url: core::option::Option<alloc::string::String> 2801 pub struct radroots_event::social::ReportTarget 2802 pub radroots_event::social::ReportTarget::event: core::option::Option<radroots_event::social::SocialTarget> 2803 pub radroots_event::social::ReportTarget::file: core::option::Option<radroots_event::social::ReportFileTarget> 2804 pub radroots_event::social::ReportTarget::reported_pubkey: alloc::string::String 2805 pub struct radroots_event::social::SocialFarmAnchor 2806 pub radroots_event::social::SocialFarmAnchor::farm: radroots_event::farm::FarmRef 2807 pub radroots_event::social::SocialFarmAnchor::relays: core::option::Option<alloc::vec::Vec<alloc::string::String>> 2808 pub struct radroots_event::social::SocialLocation 2809 pub radroots_event::social::SocialLocation::geohash: core::option::Option<alloc::string::String> 2810 pub radroots_event::social::SocialLocation::name: core::option::Option<alloc::string::String> 2811 pub struct radroots_event::social::SocialMediaDimensions 2812 pub radroots_event::social::SocialMediaDimensions::height: u32 2813 pub radroots_event::social::SocialMediaDimensions::width: u32 2814 pub struct radroots_event::social::SocialMediaMetadata 2815 pub radroots_event::social::SocialMediaMetadata::alt: core::option::Option<alloc::string::String> 2816 pub radroots_event::social::SocialMediaMetadata::blurhash: core::option::Option<alloc::string::String> 2817 pub radroots_event::social::SocialMediaMetadata::content_hashes: core::option::Option<alloc::vec::Vec<alloc::string::String>> 2818 pub radroots_event::social::SocialMediaMetadata::dimensions: core::option::Option<radroots_event::social::SocialMediaDimensions> 2819 pub radroots_event::social::SocialMediaMetadata::fallback: core::option::Option<alloc::string::String> 2820 pub radroots_event::social::SocialMediaMetadata::image: core::option::Option<alloc::string::String> 2821 pub radroots_event::social::SocialMediaMetadata::imeta: core::option::Option<alloc::vec::Vec<alloc::vec::Vec<alloc::string::String>>> 2822 pub radroots_event::social::SocialMediaMetadata::magnet: core::option::Option<alloc::string::String> 2823 pub radroots_event::social::SocialMediaMetadata::mime_type: core::option::Option<alloc::string::String> 2824 pub radroots_event::social::SocialMediaMetadata::original_sha256: core::option::Option<alloc::string::String> 2825 pub radroots_event::social::SocialMediaMetadata::services: core::option::Option<alloc::vec::Vec<alloc::string::String>> 2826 pub radroots_event::social::SocialMediaMetadata::sha256: core::option::Option<alloc::string::String> 2827 pub radroots_event::social::SocialMediaMetadata::size: core::option::Option<u64> 2828 pub radroots_event::social::SocialMediaMetadata::summary: core::option::Option<alloc::string::String> 2829 pub radroots_event::social::SocialMediaMetadata::thumbnails: core::option::Option<alloc::vec::Vec<radroots_event::social::SocialMediaThumbnail>> 2830 pub radroots_event::social::SocialMediaMetadata::url: core::option::Option<alloc::string::String> 2831 pub struct radroots_event::social::SocialMediaThumbnail 2832 pub radroots_event::social::SocialMediaThumbnail::dimensions: core::option::Option<radroots_event::social::SocialMediaDimensions> 2833 pub radroots_event::social::SocialMediaThumbnail::url: alloc::string::String 2834 pub mod radroots_event::tag 2835 pub mod radroots_event::tag::name 2836 pub const radroots_event::tag::name::TAG_A: &str 2837 pub const radroots_event::tag::name::TAG_ALT: &str 2838 pub const radroots_event::tag::name::TAG_AMOUNT: &str 2839 pub const radroots_event::tag::name::TAG_A_ROOT: &str 2840 pub const radroots_event::tag::name::TAG_BLURHASH: &str 2841 pub const radroots_event::tag::name::TAG_CHALLENGE: &str 2842 pub const radroots_event::tag::name::TAG_CONTRACT: &str 2843 pub const radroots_event::tag::name::TAG_CURRENCY: &str 2844 pub const radroots_event::tag::name::TAG_D: &str 2845 pub const radroots_event::tag::name::TAG_DESCRIPTION: &str 2846 pub const radroots_event::tag::name::TAG_DIMENSIONS: &str 2847 pub const radroots_event::tag::name::TAG_D_DAY: &str 2848 pub const radroots_event::tag::name::TAG_E: &str 2849 pub const radroots_event::tag::name::TAG_END: &str 2850 pub const radroots_event::tag::name::TAG_END_TZID: &str 2851 pub const radroots_event::tag::name::TAG_E_PREV: &str 2852 pub const radroots_event::tag::name::TAG_E_ROOT: &str 2853 pub const radroots_event::tag::name::TAG_E_ROOT_NIP22: &str 2854 pub const radroots_event::tag::name::TAG_FALLBACK: &str 2855 pub const radroots_event::tag::name::TAG_FREE_BUSY: &str 2856 pub const radroots_event::tag::name::TAG_G: &str 2857 pub const radroots_event::tag::name::TAG_H: &str 2858 pub const radroots_event::tag::name::TAG_I: &str 2859 pub const radroots_event::tag::name::TAG_IMAGE: &str 2860 pub const radroots_event::tag::name::TAG_IMETA: &str 2861 pub const radroots_event::tag::name::TAG_I_ROOT: &str 2862 pub const radroots_event::tag::name::TAG_K: &str 2863 pub const radroots_event::tag::name::TAG_K_ROOT: &str 2864 pub const radroots_event::tag::name::TAG_LOCATION: &str 2865 pub const radroots_event::tag::name::TAG_MAGNET: &str 2866 pub const radroots_event::tag::name::TAG_METHOD: &str 2867 pub const radroots_event::tag::name::TAG_MIME: &str 2868 pub const radroots_event::tag::name::TAG_ORIGINAL_SHA256: &str 2869 pub const radroots_event::tag::name::TAG_P: &str 2870 pub const radroots_event::tag::name::TAG_PAYLOAD: &str 2871 pub const radroots_event::tag::name::TAG_PRICE: &str 2872 pub const radroots_event::tag::name::TAG_PUBLISHED_AT: &str 2873 pub const radroots_event::tag::name::TAG_P_ROOT: &str 2874 pub const radroots_event::tag::name::TAG_Q: &str 2875 pub const radroots_event::tag::name::TAG_R: &str 2876 pub const radroots_event::tag::name::TAG_RELAY: &str 2877 pub const radroots_event::tag::name::TAG_SERVER: &str 2878 pub const radroots_event::tag::name::TAG_SERVICE: &str 2879 pub const radroots_event::tag::name::TAG_SHA256: &str 2880 pub const radroots_event::tag::name::TAG_SIZE: &str 2881 pub const radroots_event::tag::name::TAG_START: &str 2882 pub const radroots_event::tag::name::TAG_START_TZID: &str 2883 pub const radroots_event::tag::name::TAG_STATUS: &str 2884 pub const radroots_event::tag::name::TAG_SUBJECT: &str 2885 pub const radroots_event::tag::name::TAG_SUMMARY: &str 2886 pub const radroots_event::tag::name::TAG_T: &str 2887 pub const radroots_event::tag::name::TAG_THUMB: &str 2888 pub const radroots_event::tag::name::TAG_THUMBNAIL: &str 2889 pub const radroots_event::tag::name::TAG_TITLE: &str 2890 pub const radroots_event::tag::name::TAG_U: &str 2891 pub const radroots_event::tag::name::TAG_URL: &str 2892 pub const radroots_event::tag::name::TAG_URL_AUTH: &str 2893 pub mod radroots_event::tag::relay_hint 2894 pub struct radroots_event::tag::relay_hint::NostrRelayHint(_) 2895 impl radroots_event::tag::relay_hint::NostrRelayHint 2896 pub fn radroots_event::tag::relay_hint::NostrRelayHint::as_str(&self) -> &str 2897 pub fn radroots_event::tag::relay_hint::NostrRelayHint::into_string(self) -> alloc::string::String 2898 pub fn radroots_event::tag::relay_hint::NostrRelayHint::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_event::id::ParseError> 2899 impl core::convert::AsRef<str> for radroots_event::tag::relay_hint::NostrRelayHint 2900 pub fn radroots_event::tag::relay_hint::NostrRelayHint::as_ref(&self) -> &str 2901 impl core::convert::From<radroots_event::tag::relay_hint::NostrRelayHint> for alloc::string::String 2902 pub fn alloc::string::String::from(radroots_event::tag::relay_hint::NostrRelayHint) -> Self 2903 impl core::convert::TryFrom<&str> for radroots_event::tag::relay_hint::NostrRelayHint 2904 pub type radroots_event::tag::relay_hint::NostrRelayHint::Error = radroots_event::id::ParseError 2905 pub fn radroots_event::tag::relay_hint::NostrRelayHint::try_from(&str) -> core::result::Result<Self, Self::Error> 2906 impl core::convert::TryFrom<alloc::string::String> for radroots_event::tag::relay_hint::NostrRelayHint 2907 pub type radroots_event::tag::relay_hint::NostrRelayHint::Error = radroots_event::id::ParseError 2908 pub fn radroots_event::tag::relay_hint::NostrRelayHint::try_from(alloc::string::String) -> core::result::Result<Self, Self::Error> 2909 impl core::fmt::Display for radroots_event::tag::relay_hint::NostrRelayHint 2910 pub fn radroots_event::tag::relay_hint::NostrRelayHint::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 2911 impl core::str::traits::FromStr for radroots_event::tag::relay_hint::NostrRelayHint 2912 pub type radroots_event::tag::relay_hint::NostrRelayHint::Err = radroots_event::id::ParseError 2913 pub fn radroots_event::tag::relay_hint::NostrRelayHint::from_str(&str) -> core::result::Result<Self, Self::Err> 2914 pub struct radroots_event::tag::EventPtr 2915 pub radroots_event::tag::EventPtr::id: alloc::string::String 2916 pub radroots_event::tag::EventPtr::relays: core::option::Option<alloc::string::String> 2917 pub struct radroots_event::tag::EventRef 2918 pub radroots_event::tag::EventRef::author: radroots_identity::key::PublicKey 2919 pub radroots_event::tag::EventRef::d_tag: core::option::Option<alloc::string::String> 2920 pub radroots_event::tag::EventRef::id: alloc::string::String 2921 pub radroots_event::tag::EventRef::kind: u32 2922 pub radroots_event::tag::EventRef::relays: core::option::Option<alloc::vec::Vec<alloc::string::String>> 2923 pub mod radroots_event::trade 2924 pub mod radroots_event::trade::order 2925 pub enum radroots_event::trade::order::CommercialDomain 2926 pub radroots_event::trade::order::CommercialDomain::Listing 2927 pub enum radroots_event::trade::order::OrderDecisionOutcome 2928 pub radroots_event::trade::order::OrderDecisionOutcome::Accepted 2929 pub radroots_event::trade::order::OrderDecisionOutcome::Accepted::inventory_commitments: alloc::vec::Vec<radroots_event::trade::order::OrderInventoryCommitment> 2930 pub radroots_event::trade::order::OrderDecisionOutcome::Declined 2931 pub radroots_event::trade::order::OrderDecisionOutcome::Declined::reason: alloc::string::String 2932 impl radroots_event::trade::order::OrderDecisionOutcome 2933 pub fn radroots_event::trade::order::OrderDecisionOutcome::validate(&self) -> core::result::Result<(), radroots_event::trade::order::OrderPayloadError> 2934 pub enum radroots_event::trade::order::OrderEconomicActor 2935 pub radroots_event::trade::order::OrderEconomicActor::Buyer 2936 pub radroots_event::trade::order::OrderEconomicActor::Seller 2937 pub enum radroots_event::trade::order::OrderEconomicEffect 2938 pub radroots_event::trade::order::OrderEconomicEffect::Decrease 2939 pub radroots_event::trade::order::OrderEconomicEffect::Increase 2940 pub enum radroots_event::trade::order::OrderEconomicLineKind 2941 pub radroots_event::trade::order::OrderEconomicLineKind::BasketAdjustment 2942 pub radroots_event::trade::order::OrderEconomicLineKind::ListingDiscount 2943 pub radroots_event::trade::order::OrderEconomicLineKind::RevisionAdjustment 2944 pub enum radroots_event::trade::order::OrderEnvelopeError 2945 pub radroots_event::trade::order::OrderEnvelopeError::InvalidVersion 2946 pub radroots_event::trade::order::OrderEnvelopeError::InvalidVersion::expected: u16 2947 pub radroots_event::trade::order::OrderEnvelopeError::InvalidVersion::got: u16 2948 pub radroots_event::trade::order::OrderEnvelopeError::MissingListingAddr 2949 pub radroots_event::trade::order::OrderEnvelopeError::MissingOrderId 2950 impl core::error::Error for radroots_event::trade::order::OrderEnvelopeError 2951 impl core::fmt::Display for radroots_event::trade::order::OrderEnvelopeError 2952 pub fn radroots_event::trade::order::OrderEnvelopeError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 2953 pub enum radroots_event::trade::order::OrderEventType 2954 pub radroots_event::trade::order::OrderEventType::OrderCancelled 2955 pub radroots_event::trade::order::OrderEventType::OrderDecision 2956 pub radroots_event::trade::order::OrderEventType::OrderRequested 2957 impl radroots_event::trade::order::OrderEventType 2958 pub const fn radroots_event::trade::order::OrderEventType::from_kind(u32) -> core::option::Option<Self> 2959 pub const fn radroots_event::trade::order::OrderEventType::kind(self) -> u32 2960 pub const fn radroots_event::trade::order::OrderEventType::name(self) -> &'static str 2961 pub const fn radroots_event::trade::order::OrderEventType::requires_listing_snapshot(self) -> bool 2962 pub const fn radroots_event::trade::order::OrderEventType::requires_order_chain(self) -> bool 2963 pub enum radroots_event::trade::order::OrderPayloadError 2964 pub radroots_event::trade::order::OrderPayloadError::EmptyField(&'static str) 2965 pub radroots_event::trade::order::OrderPayloadError::InvalidEconomicCurrency 2966 pub radroots_event::trade::order::OrderPayloadError::InvalidEconomicCurrency::field: &'static str 2967 pub radroots_event::trade::order::OrderPayloadError::InvalidEconomicItemBinCount 2968 pub radroots_event::trade::order::OrderPayloadError::InvalidEconomicItemBinCount::index: usize 2969 pub radroots_event::trade::order::OrderPayloadError::InvalidEconomicItemPrice 2970 pub radroots_event::trade::order::OrderPayloadError::InvalidEconomicItemPrice::index: usize 2971 pub radroots_event::trade::order::OrderPayloadError::InvalidEconomicItemQuantity 2972 pub radroots_event::trade::order::OrderPayloadError::InvalidEconomicItemQuantity::index: usize 2973 pub radroots_event::trade::order::OrderPayloadError::InvalidEconomicItemSubtotal 2974 pub radroots_event::trade::order::OrderPayloadError::InvalidEconomicItemSubtotal::index: usize 2975 pub radroots_event::trade::order::OrderPayloadError::InvalidEconomicLineAmount 2976 pub radroots_event::trade::order::OrderPayloadError::InvalidEconomicLineAmount::field: &'static str 2977 pub radroots_event::trade::order::OrderPayloadError::InvalidEconomicLineAmount::index: usize 2978 pub radroots_event::trade::order::OrderPayloadError::InvalidEconomicLineEffect 2979 pub radroots_event::trade::order::OrderPayloadError::InvalidEconomicLineEffect::field: &'static str 2980 pub radroots_event::trade::order::OrderPayloadError::InvalidEconomicLineEffect::index: usize 2981 pub radroots_event::trade::order::OrderPayloadError::InvalidEconomicLineKind 2982 pub radroots_event::trade::order::OrderPayloadError::InvalidEconomicLineKind::field: &'static str 2983 pub radroots_event::trade::order::OrderPayloadError::InvalidEconomicLineKind::index: usize 2984 pub radroots_event::trade::order::OrderPayloadError::InvalidEconomicOrdering 2985 pub radroots_event::trade::order::OrderPayloadError::InvalidEconomicOrdering::field: &'static str 2986 pub radroots_event::trade::order::OrderPayloadError::InvalidEconomicTotal 2987 pub radroots_event::trade::order::OrderPayloadError::InvalidEconomicTotal::field: &'static str 2988 pub radroots_event::trade::order::OrderPayloadError::InvalidInventoryCommitmentCount 2989 pub radroots_event::trade::order::OrderPayloadError::InvalidInventoryCommitmentCount::index: usize 2990 pub radroots_event::trade::order::OrderPayloadError::InvalidItemBinCount 2991 pub radroots_event::trade::order::OrderPayloadError::InvalidItemBinCount::index: usize 2992 pub radroots_event::trade::order::OrderPayloadError::InvalidOrderEconomicsBinding 2993 pub radroots_event::trade::order::OrderPayloadError::InvalidOrderEconomicsBinding::field: &'static str 2994 pub radroots_event::trade::order::OrderPayloadError::InvalidQuoteVersion 2995 pub radroots_event::trade::order::OrderPayloadError::MissingEconomicItems 2996 pub radroots_event::trade::order::OrderPayloadError::MissingInventoryCommitments 2997 pub radroots_event::trade::order::OrderPayloadError::MissingItems 2998 impl core::error::Error for radroots_event::trade::order::OrderPayloadError 2999 impl core::fmt::Display for radroots_event::trade::order::OrderPayloadError 3000 pub fn radroots_event::trade::order::OrderPayloadError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 3001 pub enum radroots_event::trade::order::OrderPricingBasis 3002 pub radroots_event::trade::order::OrderPricingBasis::ListingEvent 3003 pub struct radroots_event::trade::order::OrderCancellation 3004 pub radroots_event::trade::order::OrderCancellation::buyer_pubkey: radroots_identity::key::PublicKey 3005 pub radroots_event::trade::order::OrderCancellation::listing_addr: radroots_event::id::ClassifiedListingAddress 3006 pub radroots_event::trade::order::OrderCancellation::order_id: radroots_event::id::OrderId 3007 pub radroots_event::trade::order::OrderCancellation::reason: alloc::string::String 3008 pub radroots_event::trade::order::OrderCancellation::seller_pubkey: radroots_identity::key::PublicKey 3009 impl radroots_event::trade::order::OrderCancellation 3010 pub fn radroots_event::trade::order::OrderCancellation::validate(&self) -> core::result::Result<(), radroots_event::trade::order::OrderPayloadError> 3011 pub struct radroots_event::trade::order::OrderDecision 3012 pub radroots_event::trade::order::OrderDecision::buyer_pubkey: radroots_identity::key::PublicKey 3013 pub radroots_event::trade::order::OrderDecision::decision: radroots_event::trade::order::OrderDecisionOutcome 3014 pub radroots_event::trade::order::OrderDecision::listing_addr: radroots_event::id::ClassifiedListingAddress 3015 pub radroots_event::trade::order::OrderDecision::order_id: radroots_event::id::OrderId 3016 pub radroots_event::trade::order::OrderDecision::seller_pubkey: radroots_identity::key::PublicKey 3017 impl radroots_event::trade::order::OrderDecision 3018 pub fn radroots_event::trade::order::OrderDecision::validate(&self) -> core::result::Result<(), radroots_event::trade::order::OrderPayloadError> 3019 pub struct radroots_event::trade::order::OrderEconomicItem 3020 pub radroots_event::trade::order::OrderEconomicItem::bin_count: u32 3021 pub radroots_event::trade::order::OrderEconomicItem::bin_id: radroots_event::id::InventoryBinId 3022 pub radroots_event::trade::order::OrderEconomicItem::line_subtotal: radroots_core::money::Money 3023 pub radroots_event::trade::order::OrderEconomicItem::quantity_amount: radroots_core::decimal::Decimal 3024 pub radroots_event::trade::order::OrderEconomicItem::quantity_unit: radroots_core::unit::Unit 3025 pub radroots_event::trade::order::OrderEconomicItem::unit_price_amount: radroots_core::decimal::Decimal 3026 pub radroots_event::trade::order::OrderEconomicItem::unit_price_currency: radroots_core::currency::Currency 3027 pub struct radroots_event::trade::order::OrderEconomicLine 3028 pub radroots_event::trade::order::OrderEconomicLine::actor: radroots_event::trade::order::OrderEconomicActor 3029 pub radroots_event::trade::order::OrderEconomicLine::amount: radroots_core::money::Money 3030 pub radroots_event::trade::order::OrderEconomicLine::effect: radroots_event::trade::order::OrderEconomicEffect 3031 pub radroots_event::trade::order::OrderEconomicLine::id: alloc::string::String 3032 pub radroots_event::trade::order::OrderEconomicLine::kind: radroots_event::trade::order::OrderEconomicLineKind 3033 pub radroots_event::trade::order::OrderEconomicLine::reason: alloc::string::String 3034 pub struct radroots_event::trade::order::OrderEconomicTotals 3035 pub radroots_event::trade::order::OrderEconomicTotals::adjustment_total: radroots_core::money::Money 3036 pub radroots_event::trade::order::OrderEconomicTotals::discount_total: radroots_core::money::Money 3037 pub radroots_event::trade::order::OrderEconomicTotals::subtotal: radroots_core::money::Money 3038 pub radroots_event::trade::order::OrderEconomicTotals::total: radroots_core::money::Money 3039 pub struct radroots_event::trade::order::OrderEconomics 3040 pub radroots_event::trade::order::OrderEconomics::adjustment_total: radroots_core::money::Money 3041 pub radroots_event::trade::order::OrderEconomics::adjustments: alloc::vec::Vec<radroots_event::trade::order::OrderEconomicLine> 3042 pub radroots_event::trade::order::OrderEconomics::currency: radroots_core::currency::Currency 3043 pub radroots_event::trade::order::OrderEconomics::discount_total: radroots_core::money::Money 3044 pub radroots_event::trade::order::OrderEconomics::discounts: alloc::vec::Vec<radroots_event::trade::order::OrderEconomicLine> 3045 pub radroots_event::trade::order::OrderEconomics::items: alloc::vec::Vec<radroots_event::trade::order::OrderEconomicItem> 3046 pub radroots_event::trade::order::OrderEconomics::pricing_basis: radroots_event::trade::order::OrderPricingBasis 3047 pub radroots_event::trade::order::OrderEconomics::quote_id: radroots_event::id::OrderQuoteId 3048 pub radroots_event::trade::order::OrderEconomics::quote_version: u32 3049 pub radroots_event::trade::order::OrderEconomics::subtotal: radroots_core::money::Money 3050 pub radroots_event::trade::order::OrderEconomics::total: radroots_core::money::Money 3051 impl radroots_event::trade::order::OrderEconomics 3052 pub fn radroots_event::trade::order::OrderEconomics::canonicalize(&mut self) 3053 pub fn radroots_event::trade::order::OrderEconomics::canonicalized(&self) -> Self 3054 pub fn radroots_event::trade::order::OrderEconomics::derived_totals(&self) -> core::result::Result<radroots_event::trade::order::OrderEconomicTotals, radroots_event::trade::order::OrderPayloadError> 3055 pub fn radroots_event::trade::order::OrderEconomics::validate(&self) -> core::result::Result<(), radroots_event::trade::order::OrderPayloadError> 3056 pub struct radroots_event::trade::order::OrderEnvelope<T> 3057 pub radroots_event::trade::order::OrderEnvelope::domain: radroots_event::trade::order::CommercialDomain 3058 pub radroots_event::trade::order::OrderEnvelope::listing_addr: alloc::string::String 3059 pub radroots_event::trade::order::OrderEnvelope::message_type: radroots_event::trade::order::OrderEventType 3060 pub radroots_event::trade::order::OrderEnvelope::order_id: alloc::string::String 3061 pub radroots_event::trade::order::OrderEnvelope::payload: T 3062 pub radroots_event::trade::order::OrderEnvelope::version: u16 3063 impl<T> radroots_event::trade::order::OrderEnvelope<T> 3064 pub fn radroots_event::trade::order::OrderEnvelope<T>::new(radroots_event::trade::order::OrderEventType, impl core::convert::Into<alloc::string::String>, impl core::convert::Into<alloc::string::String>, T) -> Self 3065 pub fn radroots_event::trade::order::OrderEnvelope<T>::validate(&self) -> core::result::Result<(), radroots_event::trade::order::OrderEnvelopeError> 3066 pub struct radroots_event::trade::order::OrderInventoryCommitment 3067 pub radroots_event::trade::order::OrderInventoryCommitment::bin_count: u32 3068 pub radroots_event::trade::order::OrderInventoryCommitment::bin_id: radroots_event::id::InventoryBinId 3069 pub struct radroots_event::trade::order::OrderItem 3070 pub radroots_event::trade::order::OrderItem::bin_count: u32 3071 pub radroots_event::trade::order::OrderItem::bin_id: radroots_event::id::InventoryBinId 3072 pub struct radroots_event::trade::order::OrderRequest 3073 pub radroots_event::trade::order::OrderRequest::buyer_pubkey: radroots_identity::key::PublicKey 3074 pub radroots_event::trade::order::OrderRequest::economics: radroots_event::trade::order::OrderEconomics 3075 pub radroots_event::trade::order::OrderRequest::items: alloc::vec::Vec<radroots_event::trade::order::OrderItem> 3076 pub radroots_event::trade::order::OrderRequest::listing_addr: radroots_event::id::ClassifiedListingAddress 3077 pub radroots_event::trade::order::OrderRequest::order_id: radroots_event::id::OrderId 3078 pub radroots_event::trade::order::OrderRequest::seller_pubkey: radroots_identity::key::PublicKey 3079 impl radroots_event::trade::order::OrderRequest 3080 pub fn radroots_event::trade::order::OrderRequest::validate(&self) -> core::result::Result<(), radroots_event::trade::order::OrderPayloadError> 3081 pub const radroots_event::trade::order::RADROOTS_COMMERCIAL_LISTING_DOMAIN: &str 3082 pub const radroots_event::trade::order::RADROOTS_ORDER_ENVELOPE_VERSION: u16 3083 pub mod radroots_event::trade::order_economics 3084 pub enum radroots_event::trade::order_economics::OrderEconomicActor 3085 pub radroots_event::trade::order_economics::OrderEconomicActor::Buyer 3086 pub radroots_event::trade::order_economics::OrderEconomicActor::Seller 3087 pub enum radroots_event::trade::order_economics::OrderEconomicEffect 3088 pub radroots_event::trade::order_economics::OrderEconomicEffect::Decrease 3089 pub radroots_event::trade::order_economics::OrderEconomicEffect::Increase 3090 pub enum radroots_event::trade::order_economics::OrderEconomicLineKind 3091 pub radroots_event::trade::order_economics::OrderEconomicLineKind::BasketAdjustment 3092 pub radroots_event::trade::order_economics::OrderEconomicLineKind::ListingDiscount 3093 pub radroots_event::trade::order_economics::OrderEconomicLineKind::RevisionAdjustment 3094 pub enum radroots_event::trade::order_economics::OrderPricingBasis 3095 pub radroots_event::trade::order_economics::OrderPricingBasis::ListingEvent 3096 pub struct radroots_event::trade::order_economics::OrderEconomicItem 3097 pub radroots_event::trade::order_economics::OrderEconomicItem::bin_count: u32 3098 pub radroots_event::trade::order_economics::OrderEconomicItem::bin_id: radroots_event::id::InventoryBinId 3099 pub radroots_event::trade::order_economics::OrderEconomicItem::line_subtotal: radroots_core::money::Money 3100 pub radroots_event::trade::order_economics::OrderEconomicItem::quantity_amount: radroots_core::decimal::Decimal 3101 pub radroots_event::trade::order_economics::OrderEconomicItem::quantity_unit: radroots_core::unit::Unit 3102 pub radroots_event::trade::order_economics::OrderEconomicItem::unit_price_amount: radroots_core::decimal::Decimal 3103 pub radroots_event::trade::order_economics::OrderEconomicItem::unit_price_currency: radroots_core::currency::Currency 3104 pub struct radroots_event::trade::order_economics::OrderEconomicLine 3105 pub radroots_event::trade::order_economics::OrderEconomicLine::actor: radroots_event::trade::order::OrderEconomicActor 3106 pub radroots_event::trade::order_economics::OrderEconomicLine::amount: radroots_core::money::Money 3107 pub radroots_event::trade::order_economics::OrderEconomicLine::effect: radroots_event::trade::order::OrderEconomicEffect 3108 pub radroots_event::trade::order_economics::OrderEconomicLine::id: alloc::string::String 3109 pub radroots_event::trade::order_economics::OrderEconomicLine::kind: radroots_event::trade::order::OrderEconomicLineKind 3110 pub radroots_event::trade::order_economics::OrderEconomicLine::reason: alloc::string::String 3111 pub struct radroots_event::trade::order_economics::OrderEconomicTotals 3112 pub radroots_event::trade::order_economics::OrderEconomicTotals::adjustment_total: radroots_core::money::Money 3113 pub radroots_event::trade::order_economics::OrderEconomicTotals::discount_total: radroots_core::money::Money 3114 pub radroots_event::trade::order_economics::OrderEconomicTotals::subtotal: radroots_core::money::Money 3115 pub radroots_event::trade::order_economics::OrderEconomicTotals::total: radroots_core::money::Money 3116 pub struct radroots_event::trade::order_economics::OrderEconomics 3117 pub radroots_event::trade::order_economics::OrderEconomics::adjustment_total: radroots_core::money::Money 3118 pub radroots_event::trade::order_economics::OrderEconomics::adjustments: alloc::vec::Vec<radroots_event::trade::order::OrderEconomicLine> 3119 pub radroots_event::trade::order_economics::OrderEconomics::currency: radroots_core::currency::Currency 3120 pub radroots_event::trade::order_economics::OrderEconomics::discount_total: radroots_core::money::Money 3121 pub radroots_event::trade::order_economics::OrderEconomics::discounts: alloc::vec::Vec<radroots_event::trade::order::OrderEconomicLine> 3122 pub radroots_event::trade::order_economics::OrderEconomics::items: alloc::vec::Vec<radroots_event::trade::order::OrderEconomicItem> 3123 pub radroots_event::trade::order_economics::OrderEconomics::pricing_basis: radroots_event::trade::order::OrderPricingBasis 3124 pub radroots_event::trade::order_economics::OrderEconomics::quote_id: radroots_event::id::OrderQuoteId 3125 pub radroots_event::trade::order_economics::OrderEconomics::quote_version: u32 3126 pub radroots_event::trade::order_economics::OrderEconomics::subtotal: radroots_core::money::Money 3127 pub radroots_event::trade::order_economics::OrderEconomics::total: radroots_core::money::Money 3128 impl radroots_event::trade::order::OrderEconomics 3129 pub fn radroots_event::trade::order::OrderEconomics::canonicalize(&mut self) 3130 pub fn radroots_event::trade::order::OrderEconomics::canonicalized(&self) -> Self 3131 pub fn radroots_event::trade::order::OrderEconomics::derived_totals(&self) -> core::result::Result<radroots_event::trade::order::OrderEconomicTotals, radroots_event::trade::order::OrderPayloadError> 3132 pub fn radroots_event::trade::order::OrderEconomics::validate(&self) -> core::result::Result<(), radroots_event::trade::order::OrderPayloadError> 3133 pub struct radroots_event::trade::order_economics::OrderItem 3134 pub radroots_event::trade::order_economics::OrderItem::bin_count: u32 3135 pub radroots_event::trade::order_economics::OrderItem::bin_id: radroots_event::id::InventoryBinId 3136 pub mod radroots_event::trade::validation 3137 pub enum radroots_event::trade::validation::OperationalListingValidationError 3138 pub radroots_event::trade::validation::OperationalListingValidationError::InvalidBin 3139 pub radroots_event::trade::validation::OperationalListingValidationError::InvalidInventory 3140 pub radroots_event::trade::validation::OperationalListingValidationError::InvalidKind 3141 pub radroots_event::trade::validation::OperationalListingValidationError::InvalidKind::kind: u32 3142 pub radroots_event::trade::validation::OperationalListingValidationError::InvalidLocationGeohash 3143 pub radroots_event::trade::validation::OperationalListingValidationError::InvalidPrice 3144 pub radroots_event::trade::validation::OperationalListingValidationError::InvalidProfile 3145 pub radroots_event::trade::validation::OperationalListingValidationError::InvalidSeller 3146 pub radroots_event::trade::validation::OperationalListingValidationError::ListingEventFetchFailed 3147 pub radroots_event::trade::validation::OperationalListingValidationError::ListingEventFetchFailed::listing_addr: alloc::string::String 3148 pub radroots_event::trade::validation::OperationalListingValidationError::ListingEventNotFound 3149 pub radroots_event::trade::validation::OperationalListingValidationError::ListingEventNotFound::listing_addr: alloc::string::String 3150 pub radroots_event::trade::validation::OperationalListingValidationError::MissingAvailability 3151 pub radroots_event::trade::validation::OperationalListingValidationError::MissingBins 3152 pub radroots_event::trade::validation::OperationalListingValidationError::MissingDeliveryMethod 3153 pub radroots_event::trade::validation::OperationalListingValidationError::MissingDescription 3154 pub radroots_event::trade::validation::OperationalListingValidationError::MissingFarmProfile 3155 pub radroots_event::trade::validation::OperationalListingValidationError::MissingFarmRecord 3156 pub radroots_event::trade::validation::OperationalListingValidationError::MissingInventory 3157 pub radroots_event::trade::validation::OperationalListingValidationError::MissingListingId 3158 pub radroots_event::trade::validation::OperationalListingValidationError::MissingLocation 3159 pub radroots_event::trade::validation::OperationalListingValidationError::MissingLocationGeohash 3160 pub radroots_event::trade::validation::OperationalListingValidationError::MissingLocationLocality 3161 pub radroots_event::trade::validation::OperationalListingValidationError::MissingPrice 3162 pub radroots_event::trade::validation::OperationalListingValidationError::MissingPrimaryBin 3163 pub radroots_event::trade::validation::OperationalListingValidationError::MissingProductType 3164 pub radroots_event::trade::validation::OperationalListingValidationError::MissingTitle 3165 pub radroots_event::trade::validation::OperationalListingValidationError::ParseError 3166 pub radroots_event::trade::validation::OperationalListingValidationError::ParseError::error: radroots_event::listing::operational::OperationalListingParseError 3167 impl core::error::Error for radroots_event::trade::validation::OperationalListingValidationError 3168 impl core::fmt::Display for radroots_event::trade::validation::OperationalListingValidationError 3169 pub fn radroots_event::trade::validation::OperationalListingValidationError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 3170 pub enum radroots_event::trade::TradeDecisionV1 3171 pub radroots_event::trade::TradeDecisionV1::Accepted 3172 pub radroots_event::trade::TradeDecisionV1::Accepted::reservation_assertion: core::option::Option<radroots_event::trade::SellerReservationAssertionV1> 3173 pub radroots_event::trade::TradeDecisionV1::Declined 3174 pub radroots_event::trade::TradeDecisionV1::Declined::reason: alloc::string::String 3175 impl radroots_event::trade::TradeDecisionV1 3176 pub fn radroots_event::trade::TradeDecisionV1::validate(&self) -> core::result::Result<(), radroots_event::trade::TradeProtocolError> 3177 pub enum radroots_event::trade::TradeMutationBodyV1 3178 pub radroots_event::trade::TradeMutationBodyV1::Cancellation 3179 pub radroots_event::trade::TradeMutationBodyV1::Cancellation::reason: alloc::string::String 3180 pub radroots_event::trade::TradeMutationBodyV1::Cancellation::target_candidate_id: core::option::Option<radroots_event::id::CandidateId> 3181 pub radroots_event::trade::TradeMutationBodyV1::Cancellation::target_claim_mutation_id: core::option::Option<radroots_event::id::MutationId> 3182 pub radroots_event::trade::TradeMutationBodyV1::Decision 3183 pub radroots_event::trade::TradeMutationBodyV1::Decision::candidate_id: radroots_event::id::CandidateId 3184 pub radroots_event::trade::TradeMutationBodyV1::Decision::decision: radroots_event::trade::TradeDecisionV1 3185 pub radroots_event::trade::TradeMutationBodyV1::Decision::proposal_mutation_id: radroots_event::id::MutationId 3186 pub radroots_event::trade::TradeMutationBodyV1::Proposal 3187 pub radroots_event::trade::TradeMutationBodyV1::Proposal::candidate: radroots_event::trade::TradeCandidateTermsV1 3188 pub radroots_event::trade::TradeMutationBodyV1::RevisionDecision 3189 pub radroots_event::trade::TradeMutationBodyV1::RevisionDecision::candidate_id: radroots_event::id::CandidateId 3190 pub radroots_event::trade::TradeMutationBodyV1::RevisionDecision::decision: radroots_event::trade::TradeDecisionV1 3191 pub radroots_event::trade::TradeMutationBodyV1::RevisionDecision::proposal_mutation_id: radroots_event::id::MutationId 3192 pub radroots_event::trade::TradeMutationBodyV1::RevisionProposal 3193 pub radroots_event::trade::TradeMutationBodyV1::RevisionProposal::candidate: radroots_event::trade::TradeCandidateTermsV1 3194 impl radroots_event::trade::TradeMutationBodyV1 3195 pub const fn radroots_event::trade::TradeMutationBodyV1::mutation_kind(&self) -> radroots_event::trade::TradeMutationKindV1 3196 pub fn radroots_event::trade::TradeMutationBodyV1::validate(&self) -> core::result::Result<(), radroots_event::trade::TradeProtocolError> 3197 pub enum radroots_event::trade::TradeMutationKindV1 3198 pub radroots_event::trade::TradeMutationKindV1::Cancellation 3199 pub radroots_event::trade::TradeMutationKindV1::Decision 3200 pub radroots_event::trade::TradeMutationKindV1::Proposal 3201 pub radroots_event::trade::TradeMutationKindV1::RevisionDecision 3202 pub radroots_event::trade::TradeMutationKindV1::RevisionProposal 3203 impl radroots_event::trade::TradeMutationKindV1 3204 pub const fn radroots_event::trade::TradeMutationKindV1::contract_id(self) -> &'static str 3205 pub const fn radroots_event::trade::TradeMutationKindV1::nostr_kind(self) -> u32 3206 pub enum radroots_event::trade::TradeProtocolError 3207 pub radroots_event::trade::TradeProtocolError::CandidateIdMismatch 3208 pub radroots_event::trade::TradeProtocolError::CandidateIdMismatch::computed: alloc::string::String 3209 pub radroots_event::trade::TradeProtocolError::CandidateIdMismatch::declared: alloc::string::String 3210 pub radroots_event::trade::TradeProtocolError::ContentTooLarge 3211 pub radroots_event::trade::TradeProtocolError::ContentTooLarge::actual: usize 3212 pub radroots_event::trade::TradeProtocolError::ContentTooLarge::max: usize 3213 pub radroots_event::trade::TradeProtocolError::ContractMismatch 3214 pub radroots_event::trade::TradeProtocolError::ContractMismatch::actual: alloc::string::String 3215 pub radroots_event::trade::TradeProtocolError::ContractMismatch::expected: &'static str 3216 pub radroots_event::trade::TradeProtocolError::DuplicateKey(alloc::string::String) 3217 pub radroots_event::trade::TradeProtocolError::DuplicateParent 3218 pub radroots_event::trade::TradeProtocolError::EmptyField(&'static str) 3219 pub radroots_event::trade::TradeProtocolError::InvalidField(&'static str) 3220 pub radroots_event::trade::TradeProtocolError::InvalidIdentifier 3221 pub radroots_event::trade::TradeProtocolError::InvalidIdentifier::error: radroots_event::id::ParseError 3222 pub radroots_event::trade::TradeProtocolError::InvalidIdentifier::field: &'static str 3223 pub radroots_event::trade::TradeProtocolError::InvalidInitialParents 3224 pub radroots_event::trade::TradeProtocolError::InvalidJson(alloc::string::String) 3225 pub radroots_event::trade::TradeProtocolError::InvalidSchemaVersion 3226 pub radroots_event::trade::TradeProtocolError::InvalidSchemaVersion::actual: u16 3227 pub radroots_event::trade::TradeProtocolError::InvalidSchemaVersion::expected: u16 3228 pub radroots_event::trade::TradeProtocolError::InvalidTimeRange 3229 pub radroots_event::trade::TradeProtocolError::MissingCancellationTarget 3230 pub radroots_event::trade::TradeProtocolError::MissingLines 3231 pub radroots_event::trade::TradeProtocolError::MissingParentMutation 3232 pub radroots_event::trade::TradeProtocolError::MissingReservationCommitments 3233 pub radroots_event::trade::TradeProtocolError::MutationIdMismatch 3234 pub radroots_event::trade::TradeProtocolError::MutationIdMismatch::computed: alloc::string::String 3235 pub radroots_event::trade::TradeProtocolError::MutationIdMismatch::declared: alloc::string::String 3236 pub radroots_event::trade::TradeProtocolError::NonCanonicalJson 3237 pub radroots_event::trade::TradeProtocolError::SelfParent 3238 pub radroots_event::trade::TradeProtocolError::TooManyAdjustments 3239 pub radroots_event::trade::TradeProtocolError::TooManyAdjustments::actual: usize 3240 pub radroots_event::trade::TradeProtocolError::TooManyAdjustments::max: usize 3241 pub radroots_event::trade::TradeProtocolError::TooManyLines 3242 pub radroots_event::trade::TradeProtocolError::TooManyLines::actual: usize 3243 pub radroots_event::trade::TradeProtocolError::TooManyLines::max: usize 3244 pub radroots_event::trade::TradeProtocolError::TooManyParents 3245 pub radroots_event::trade::TradeProtocolError::TooManyParents::actual: usize 3246 pub radroots_event::trade::TradeProtocolError::TooManyParents::max: usize 3247 pub radroots_event::trade::TradeProtocolError::UnsortedParents 3248 pub radroots_event::trade::TradeProtocolError::UnsupportedNumber 3249 impl core::error::Error for radroots_event::trade::TradeProtocolError 3250 impl core::fmt::Display for radroots_event::trade::TradeProtocolError 3251 pub fn radroots_event::trade::TradeProtocolError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 3252 pub struct radroots_event::trade::CandidateId(_) 3253 impl radroots_event::id::CandidateId 3254 pub const fn radroots_event::id::CandidateId::as_bytes(&self) -> &[u8; 32] 3255 pub const fn radroots_event::id::CandidateId::from_bytes([u8; 32]) -> Self 3256 pub const fn radroots_event::id::CandidateId::into_bytes(self) -> [u8; 32] 3257 pub fn radroots_event::id::CandidateId::into_string(self) -> alloc::string::String 3258 pub fn radroots_event::id::CandidateId::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_event::id::ParseError> 3259 pub fn radroots_event::id::CandidateId::to_hex(&self) -> alloc::string::String 3260 impl core::convert::AsRef<[u8]> for radroots_event::id::CandidateId 3261 pub fn radroots_event::id::CandidateId::as_ref(&self) -> &[u8] 3262 impl core::convert::From<[u8; 32]> for radroots_event::id::CandidateId 3263 pub fn radroots_event::id::CandidateId::from([u8; 32]) -> Self 3264 impl core::convert::From<radroots_event::id::CandidateId> for [u8; 32] 3265 pub fn [u8; 32]::from(radroots_event::id::CandidateId) -> Self 3266 impl core::convert::TryFrom<&str> for radroots_event::id::CandidateId 3267 pub type radroots_event::id::CandidateId::Error = radroots_event::id::ParseError 3268 pub fn radroots_event::id::CandidateId::try_from(&str) -> core::result::Result<Self, Self::Error> 3269 impl core::convert::TryFrom<alloc::string::String> for radroots_event::id::CandidateId 3270 pub type radroots_event::id::CandidateId::Error = radroots_event::id::ParseError 3271 pub fn radroots_event::id::CandidateId::try_from(alloc::string::String) -> core::result::Result<Self, Self::Error> 3272 impl core::fmt::Display for radroots_event::id::CandidateId 3273 pub fn radroots_event::id::CandidateId::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 3274 impl core::str::traits::FromStr for radroots_event::id::CandidateId 3275 pub type radroots_event::id::CandidateId::Err = radroots_event::id::ParseError 3276 pub fn radroots_event::id::CandidateId::from_str(&str) -> core::result::Result<Self, Self::Err> 3277 impl serde_core::ser::Serialize for radroots_event::id::CandidateId 3278 pub fn radroots_event::id::CandidateId::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 3279 impl<'de> serde_core::de::Deserialize<'de> for radroots_event::id::CandidateId 3280 pub fn radroots_event::id::CandidateId::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 3281 pub struct radroots_event::trade::FulfillmentProfileV1 3282 pub radroots_event::trade::FulfillmentProfileV1::ends_at_unix_s: u64 3283 pub radroots_event::trade::FulfillmentProfileV1::fold: u8 3284 pub radroots_event::trade::FulfillmentProfileV1::location_class: alloc::string::String 3285 pub radroots_event::trade::FulfillmentProfileV1::method: alloc::string::String 3286 pub radroots_event::trade::FulfillmentProfileV1::profile_id: alloc::string::String 3287 pub radroots_event::trade::FulfillmentProfileV1::requires_private_terms: bool 3288 pub radroots_event::trade::FulfillmentProfileV1::starts_at_unix_s: u64 3289 pub radroots_event::trade::FulfillmentProfileV1::timezone: alloc::string::String 3290 pub radroots_event::trade::FulfillmentProfileV1::utc_offset_seconds: i32 3291 impl radroots_event::trade::FulfillmentProfileV1 3292 pub fn radroots_event::trade::FulfillmentProfileV1::validate(&self) -> core::result::Result<(), radroots_event::trade::TradeProtocolError> 3293 pub struct radroots_event::trade::MutationId(_) 3294 impl radroots_event::id::MutationId 3295 pub const fn radroots_event::id::MutationId::as_bytes(&self) -> &[u8; 32] 3296 pub const fn radroots_event::id::MutationId::from_bytes([u8; 32]) -> Self 3297 pub const fn radroots_event::id::MutationId::into_bytes(self) -> [u8; 32] 3298 pub fn radroots_event::id::MutationId::into_string(self) -> alloc::string::String 3299 pub fn radroots_event::id::MutationId::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_event::id::ParseError> 3300 pub fn radroots_event::id::MutationId::to_hex(&self) -> alloc::string::String 3301 impl core::convert::AsRef<[u8]> for radroots_event::id::MutationId 3302 pub fn radroots_event::id::MutationId::as_ref(&self) -> &[u8] 3303 impl core::convert::From<[u8; 32]> for radroots_event::id::MutationId 3304 pub fn radroots_event::id::MutationId::from([u8; 32]) -> Self 3305 impl core::convert::From<radroots_event::id::MutationId> for [u8; 32] 3306 pub fn [u8; 32]::from(radroots_event::id::MutationId) -> Self 3307 impl core::convert::TryFrom<&str> for radroots_event::id::MutationId 3308 pub type radroots_event::id::MutationId::Error = radroots_event::id::ParseError 3309 pub fn radroots_event::id::MutationId::try_from(&str) -> core::result::Result<Self, Self::Error> 3310 impl core::convert::TryFrom<alloc::string::String> for radroots_event::id::MutationId 3311 pub type radroots_event::id::MutationId::Error = radroots_event::id::ParseError 3312 pub fn radroots_event::id::MutationId::try_from(alloc::string::String) -> core::result::Result<Self, Self::Error> 3313 impl core::fmt::Display for radroots_event::id::MutationId 3314 pub fn radroots_event::id::MutationId::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 3315 impl core::str::traits::FromStr for radroots_event::id::MutationId 3316 pub type radroots_event::id::MutationId::Err = radroots_event::id::ParseError 3317 pub fn radroots_event::id::MutationId::from_str(&str) -> core::result::Result<Self, Self::Err> 3318 impl serde_core::ser::Serialize for radroots_event::id::MutationId 3319 pub fn radroots_event::id::MutationId::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 3320 impl<'de> serde_core::de::Deserialize<'de> for radroots_event::id::MutationId 3321 pub fn radroots_event::id::MutationId::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 3322 pub struct radroots_event::trade::SellerReservationAssertionV1 3323 pub radroots_event::trade::SellerReservationAssertionV1::assertion_commitment: alloc::string::String 3324 pub radroots_event::trade::SellerReservationAssertionV1::candidate_id: radroots_event::id::CandidateId 3325 pub radroots_event::trade::SellerReservationAssertionV1::commitments: alloc::vec::Vec<radroots_event::trade::SellerReservationLineV1> 3326 pub radroots_event::trade::SellerReservationAssertionV1::inventory_authority_id: radroots_identity::key::PublicKey 3327 pub radroots_event::trade::SellerReservationAssertionV1::inventory_epoch: u64 3328 pub radroots_event::trade::SellerReservationAssertionV1::reservation_expires_at_unix_s: u64 3329 pub radroots_event::trade::SellerReservationAssertionV1::reservation_id: radroots_event::id::DTag 3330 impl radroots_event::trade::SellerReservationAssertionV1 3331 pub fn radroots_event::trade::SellerReservationAssertionV1::validate(&self) -> core::result::Result<(), radroots_event::trade::TradeProtocolError> 3332 pub struct radroots_event::trade::SellerReservationLineV1 3333 pub radroots_event::trade::SellerReservationLineV1::bin_id: radroots_event::id::InventoryBinId 3334 pub radroots_event::trade::SellerReservationLineV1::line_id: radroots_event::id::DTag 3335 pub radroots_event::trade::SellerReservationLineV1::quantity_mantissa: alloc::string::String 3336 pub radroots_event::trade::SellerReservationLineV1::quantity_scale: u8 3337 pub radroots_event::trade::SellerReservationLineV1::unit_code: alloc::string::String 3338 impl radroots_event::trade::SellerReservationLineV1 3339 pub fn radroots_event::trade::SellerReservationLineV1::validate(&self) -> core::result::Result<(), radroots_event::trade::TradeProtocolError> 3340 pub struct radroots_event::trade::TradeCancellationProfileV1 3341 pub radroots_event::trade::TradeCancellationProfileV1::buyer_pre_agreement: bool 3342 pub radroots_event::trade::TradeCancellationProfileV1::post_agreement_cutoff_unix_s: core::option::Option<u64> 3343 pub radroots_event::trade::TradeCancellationProfileV1::profile_id: alloc::string::String 3344 impl radroots_event::trade::TradeCancellationProfileV1 3345 pub fn radroots_event::trade::TradeCancellationProfileV1::validate(&self) -> core::result::Result<(), radroots_event::trade::TradeProtocolError> 3346 pub struct radroots_event::trade::TradeCandidateLineV1 3347 pub radroots_event::trade::TradeCandidateLineV1::bin_id: radroots_event::id::InventoryBinId 3348 pub radroots_event::trade::TradeCandidateLineV1::currency_code: alloc::string::String 3349 pub radroots_event::trade::TradeCandidateLineV1::line_id: radroots_event::id::DTag 3350 pub radroots_event::trade::TradeCandidateLineV1::line_subtotal_mantissa: alloc::string::String 3351 pub radroots_event::trade::TradeCandidateLineV1::listing_addr: radroots_event::id::ClassifiedListingAddress 3352 pub radroots_event::trade::TradeCandidateLineV1::listing_event_id: radroots_event::id::EventId 3353 pub radroots_event::trade::TradeCandidateLineV1::listing_snapshot_sha256: alloc::string::String 3354 pub radroots_event::trade::TradeCandidateLineV1::option_id: core::option::Option<alloc::string::String> 3355 pub radroots_event::trade::TradeCandidateLineV1::product_id: alloc::string::String 3356 pub radroots_event::trade::TradeCandidateLineV1::quantity_mantissa: alloc::string::String 3357 pub radroots_event::trade::TradeCandidateLineV1::quantity_scale: u8 3358 pub radroots_event::trade::TradeCandidateLineV1::replaces_line_id: core::option::Option<radroots_event::id::DTag> 3359 pub radroots_event::trade::TradeCandidateLineV1::unit_code: alloc::string::String 3360 pub radroots_event::trade::TradeCandidateLineV1::unit_price_mantissa: alloc::string::String 3361 pub radroots_event::trade::TradeCandidateLineV1::unit_profile: alloc::string::String 3362 impl radroots_event::trade::TradeCandidateLineV1 3363 pub fn radroots_event::trade::TradeCandidateLineV1::validate(&self) -> core::result::Result<(), radroots_event::trade::TradeProtocolError> 3364 pub struct radroots_event::trade::TradeCandidateTermsV1 3365 pub radroots_event::trade::TradeCandidateTermsV1::base_candidate_id: core::option::Option<radroots_event::id::CandidateId> 3366 pub radroots_event::trade::TradeCandidateTermsV1::buyer_pubkey: radroots_identity::key::PublicKey 3367 pub radroots_event::trade::TradeCandidateTermsV1::cancellation: radroots_event::trade::TradeCancellationProfileV1 3368 pub radroots_event::trade::TradeCandidateTermsV1::candidate_id: core::option::Option<radroots_event::id::CandidateId> 3369 pub radroots_event::trade::TradeCandidateTermsV1::economics: radroots_event::trade::TradeEconomicsProfileV1 3370 pub radroots_event::trade::TradeCandidateTermsV1::farm_id: radroots_event::id::DTag 3371 pub radroots_event::trade::TradeCandidateTermsV1::fulfillment: radroots_event::trade::FulfillmentProfileV1 3372 pub radroots_event::trade::TradeCandidateTermsV1::line_tombstones: alloc::vec::Vec<radroots_event::trade::TradeLineTombstoneV1> 3373 pub radroots_event::trade::TradeCandidateTermsV1::lines: alloc::vec::Vec<radroots_event::trade::TradeCandidateLineV1> 3374 pub radroots_event::trade::TradeCandidateTermsV1::private_terms: core::option::Option<radroots_event::trade::TradePrivateTermsRefV1> 3375 pub radroots_event::trade::TradeCandidateTermsV1::proposal_expires_at_unix_s: u64 3376 pub radroots_event::trade::TradeCandidateTermsV1::schema_version: u16 3377 pub radroots_event::trade::TradeCandidateTermsV1::seller_pubkey: radroots_identity::key::PublicKey 3378 pub radroots_event::trade::TradeCandidateTermsV1::supersession_intent: core::option::Option<alloc::string::String> 3379 impl radroots_event::trade::TradeCandidateTermsV1 3380 pub fn radroots_event::trade::TradeCandidateTermsV1::validate(&self) -> core::result::Result<(), radroots_event::trade::TradeProtocolError> 3381 pub struct radroots_event::trade::TradeCanonicalMutationV1 3382 pub radroots_event::trade::TradeCanonicalMutationV1::content: alloc::string::String 3383 pub radroots_event::trade::TradeCanonicalMutationV1::envelope: radroots_event::trade::TradeMutationEnvelopeV1 3384 pub radroots_event::trade::TradeCanonicalMutationV1::mutation_id: radroots_event::id::MutationId 3385 pub struct radroots_event::trade::TradeEconomicAdjustmentV1 3386 pub radroots_event::trade::TradeEconomicAdjustmentV1::actor: alloc::string::String 3387 pub radroots_event::trade::TradeEconomicAdjustmentV1::adjustment_id: radroots_event::id::DTag 3388 pub radroots_event::trade::TradeEconomicAdjustmentV1::amount_mantissa: alloc::string::String 3389 pub radroots_event::trade::TradeEconomicAdjustmentV1::effect: alloc::string::String 3390 pub radroots_event::trade::TradeEconomicAdjustmentV1::reason: alloc::string::String 3391 impl radroots_event::trade::TradeEconomicAdjustmentV1 3392 pub fn radroots_event::trade::TradeEconomicAdjustmentV1::validate(&self) -> core::result::Result<(), radroots_event::trade::TradeProtocolError> 3393 pub struct radroots_event::trade::TradeEconomicsProfileV1 3394 pub radroots_event::trade::TradeEconomicsProfileV1::adjustment_total_mantissa: alloc::string::String 3395 pub radroots_event::trade::TradeEconomicsProfileV1::adjustments: alloc::vec::Vec<radroots_event::trade::TradeEconomicAdjustmentV1> 3396 pub radroots_event::trade::TradeEconomicsProfileV1::currency_code: alloc::string::String 3397 pub radroots_event::trade::TradeEconomicsProfileV1::currency_exponent: u8 3398 pub radroots_event::trade::TradeEconomicsProfileV1::discount_total_mantissa: alloc::string::String 3399 pub radroots_event::trade::TradeEconomicsProfileV1::profile_id: alloc::string::String 3400 pub radroots_event::trade::TradeEconomicsProfileV1::rounding_profile: alloc::string::String 3401 pub radroots_event::trade::TradeEconomicsProfileV1::subtotal_mantissa: alloc::string::String 3402 pub radroots_event::trade::TradeEconomicsProfileV1::total_mantissa: alloc::string::String 3403 impl radroots_event::trade::TradeEconomicsProfileV1 3404 pub fn radroots_event::trade::TradeEconomicsProfileV1::validate(&self) -> core::result::Result<(), radroots_event::trade::TradeProtocolError> 3405 pub struct radroots_event::trade::TradeId(_) 3406 impl radroots_event::id::TradeId 3407 pub const fn radroots_event::id::TradeId::as_bytes(&self) -> &[u8; 16] 3408 pub const fn radroots_event::id::TradeId::from_bytes([u8; 16]) -> Self 3409 pub const fn radroots_event::id::TradeId::into_bytes(self) -> [u8; 16] 3410 pub fn radroots_event::id::TradeId::into_string(self) -> alloc::string::String 3411 pub fn radroots_event::id::TradeId::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_event::id::ParseError> 3412 pub fn radroots_event::id::TradeId::to_hex(&self) -> alloc::string::String 3413 impl core::convert::AsRef<[u8]> for radroots_event::id::TradeId 3414 pub fn radroots_event::id::TradeId::as_ref(&self) -> &[u8] 3415 impl core::convert::From<[u8; 16]> for radroots_event::id::TradeId 3416 pub fn radroots_event::id::TradeId::from([u8; 16]) -> Self 3417 impl core::convert::From<radroots_event::id::TradeId> for [u8; 16] 3418 pub fn [u8; 16]::from(radroots_event::id::TradeId) -> Self 3419 impl core::convert::TryFrom<&str> for radroots_event::id::TradeId 3420 pub type radroots_event::id::TradeId::Error = radroots_event::id::ParseError 3421 pub fn radroots_event::id::TradeId::try_from(&str) -> core::result::Result<Self, Self::Error> 3422 impl core::convert::TryFrom<alloc::string::String> for radroots_event::id::TradeId 3423 pub type radroots_event::id::TradeId::Error = radroots_event::id::ParseError 3424 pub fn radroots_event::id::TradeId::try_from(alloc::string::String) -> core::result::Result<Self, Self::Error> 3425 impl core::fmt::Display for radroots_event::id::TradeId 3426 pub fn radroots_event::id::TradeId::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 3427 impl core::str::traits::FromStr for radroots_event::id::TradeId 3428 pub type radroots_event::id::TradeId::Err = radroots_event::id::ParseError 3429 pub fn radroots_event::id::TradeId::from_str(&str) -> core::result::Result<Self, Self::Err> 3430 impl serde_core::ser::Serialize for radroots_event::id::TradeId 3431 pub fn radroots_event::id::TradeId::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 3432 impl<'de> serde_core::de::Deserialize<'de> for radroots_event::id::TradeId 3433 pub fn radroots_event::id::TradeId::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 3434 pub struct radroots_event::trade::TradeLineTombstoneV1 3435 pub radroots_event::trade::TradeLineTombstoneV1::line_id: radroots_event::id::DTag 3436 pub radroots_event::trade::TradeLineTombstoneV1::reason: alloc::string::String 3437 impl radroots_event::trade::TradeLineTombstoneV1 3438 pub fn radroots_event::trade::TradeLineTombstoneV1::validate(&self) -> core::result::Result<(), radroots_event::trade::TradeProtocolError> 3439 pub struct radroots_event::trade::TradeMutationEnvelopeV1 3440 pub radroots_event::trade::TradeMutationEnvelopeV1::author_pubkey: radroots_identity::key::PublicKey 3441 pub radroots_event::trade::TradeMutationEnvelopeV1::authored_at_unix_s: u64 3442 pub radroots_event::trade::TradeMutationEnvelopeV1::body: radroots_event::trade::TradeMutationBodyV1 3443 pub radroots_event::trade::TradeMutationEnvelopeV1::buyer_pubkey: radroots_identity::key::PublicKey 3444 pub radroots_event::trade::TradeMutationEnvelopeV1::contract_id: alloc::string::String 3445 pub radroots_event::trade::TradeMutationEnvelopeV1::counterparty_pubkey: radroots_identity::key::PublicKey 3446 pub radroots_event::trade::TradeMutationEnvelopeV1::farm_id: radroots_event::id::DTag 3447 pub radroots_event::trade::TradeMutationEnvelopeV1::mutation_id: core::option::Option<radroots_event::id::MutationId> 3448 pub radroots_event::trade::TradeMutationEnvelopeV1::parent_mutation_ids: alloc::vec::Vec<radroots_event::id::MutationId> 3449 pub radroots_event::trade::TradeMutationEnvelopeV1::root_mutation_id: core::option::Option<radroots_event::id::MutationId> 3450 pub radroots_event::trade::TradeMutationEnvelopeV1::schema_version: u16 3451 pub radroots_event::trade::TradeMutationEnvelopeV1::seller_pubkey: radroots_identity::key::PublicKey 3452 pub radroots_event::trade::TradeMutationEnvelopeV1::trade_id: radroots_event::id::TradeId 3453 impl radroots_event::trade::TradeMutationEnvelopeV1 3454 pub fn radroots_event::trade::TradeMutationEnvelopeV1::mutation_kind(&self) -> radroots_event::trade::TradeMutationKindV1 3455 pub fn radroots_event::trade::TradeMutationEnvelopeV1::validate(&self) -> core::result::Result<(), radroots_event::trade::TradeProtocolError> 3456 pub struct radroots_event::trade::TradePrivateTermsRefV1 3457 pub radroots_event::trade::TradePrivateTermsRefV1::artifact_id: alloc::string::String 3458 pub radroots_event::trade::TradePrivateTermsRefV1::ciphertext_commitment: alloc::string::String 3459 pub radroots_event::trade::TradePrivateTermsRefV1::required_acknowledgement: bool 3460 pub radroots_event::trade::TradePrivateTermsRefV1::schema_id: alloc::string::String 3461 impl radroots_event::trade::TradePrivateTermsRefV1 3462 pub fn radroots_event::trade::TradePrivateTermsRefV1::validate(&self) -> core::result::Result<(), radroots_event::trade::TradeProtocolError> 3463 pub const radroots_event::trade::RADROOTS_TRADE_CANCELLATION_CONTRACT_ID: &str 3464 pub const radroots_event::trade::RADROOTS_TRADE_CANDIDATE_DOMAIN: &[u8] 3465 pub const radroots_event::trade::RADROOTS_TRADE_DECISION_CONTRACT_ID: &str 3466 pub const radroots_event::trade::RADROOTS_TRADE_MAX_ACTIVE_LINES: usize 3467 pub const radroots_event::trade::RADROOTS_TRADE_MAX_ADJUSTMENTS: usize 3468 pub const radroots_event::trade::RADROOTS_TRADE_MAX_PARENT_MUTATIONS: usize 3469 pub const radroots_event::trade::RADROOTS_TRADE_MAX_PRIVATE_ARTIFACT_BYTES: usize 3470 pub const radroots_event::trade::RADROOTS_TRADE_MAX_PUBLIC_CONTENT_BYTES: usize 3471 pub const radroots_event::trade::RADROOTS_TRADE_MUTATION_CONTRACT_IDS: [&str; 5] 3472 pub const radroots_event::trade::RADROOTS_TRADE_MUTATION_DOMAIN: &[u8] 3473 pub const radroots_event::trade::RADROOTS_TRADE_PROPOSAL_CONTRACT_ID: &str 3474 pub const radroots_event::trade::RADROOTS_TRADE_REVISION_DECISION_CONTRACT_ID: &str 3475 pub const radroots_event::trade::RADROOTS_TRADE_REVISION_PROPOSAL_CONTRACT_ID: &str 3476 pub const radroots_event::trade::RADROOTS_TRADE_SCHEMA_VERSION: u16 3477 pub const radroots_event::trade::RADROOTS_TRADE_SELLER_RESERVATION_ASSERTION_CONTRACT_ID: &str 3478 pub fn radroots_event::trade::canonical_jcs_from_str(&str) -> core::result::Result<alloc::string::String, radroots_event::trade::TradeProtocolError> 3479 pub fn radroots_event::trade::canonical_jcs_value(&serde_json::value::Value) -> core::result::Result<alloc::string::String, radroots_event::trade::TradeProtocolError> 3480 pub fn radroots_event::trade::canonical_trade_candidate_id(&radroots_event::trade::TradeCandidateTermsV1) -> core::result::Result<radroots_event::id::CandidateId, radroots_event::trade::TradeProtocolError> 3481 pub fn radroots_event::trade::canonical_trade_mutation_content(radroots_event::trade::TradeMutationEnvelopeV1) -> core::result::Result<radroots_event::trade::TradeCanonicalMutationV1, radroots_event::trade::TradeProtocolError> 3482 pub fn radroots_event::trade::canonical_trade_mutation_id(&radroots_event::trade::TradeMutationEnvelopeV1) -> core::result::Result<radroots_event::id::MutationId, radroots_event::trade::TradeProtocolError> 3483 pub fn radroots_event::trade::trade_mutation_from_canonical_content(&str) -> core::result::Result<radroots_event::trade::TradeMutationEnvelopeV1, radroots_event::trade::TradeProtocolError> 3484 pub mod radroots_event::wire 3485 #[non_exhaustive] pub enum radroots_event::Error 3486 pub radroots_event::Error::ContractValidation(crate::contract::registry_v7::ContractValidationError) 3487 pub radroots_event::Error::IdMismatch 3488 pub radroots_event::Error::IdMismatch::actual: radroots_event::id::EventId 3489 pub radroots_event::Error::IdMismatch::expected: radroots_event::id::EventId 3490 pub radroots_event::Error::MalformedEnvelope 3491 pub radroots_event::Error::SignatureInvalid 3492 impl radroots_event::Error 3493 pub const fn radroots_event::Error::code(&self) -> &'static str 3494 impl core::error::Error for radroots_event::Error 3495 impl core::fmt::Display for radroots_event::Error 3496 pub fn radroots_event::Error::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 3497 pub struct radroots_event::Event 3498 impl radroots_event::envelope::EventEnvelope 3499 pub fn radroots_event::envelope::EventEnvelope::author(&self) -> &radroots_identity::key::PublicKey 3500 pub fn radroots_event::envelope::EventEnvelope::content(&self) -> &str 3501 pub fn radroots_event::envelope::EventEnvelope::created_at(&self) -> radroots_event::envelope::EventTimestamp 3502 pub fn radroots_event::envelope::EventEnvelope::created_at_u64(&self) -> u64 3503 pub fn radroots_event::envelope::EventEnvelope::id(&self) -> &radroots_event::id::EventId 3504 pub fn radroots_event::envelope::EventEnvelope::id_hex(&self) -> alloc::string::String 3505 pub fn radroots_event::envelope::EventEnvelope::kind(&self) -> radroots_event::envelope::EventKind 3506 pub fn radroots_event::envelope::EventEnvelope::kind_class(&self) -> radroots_event::envelope::EventKindClass 3507 pub fn radroots_event::envelope::EventEnvelope::kind_u32(&self) -> u32 3508 pub fn radroots_event::envelope::EventEnvelope::new(radroots_event::envelope::EventEnvelopeParts) -> core::result::Result<Self, radroots_event::envelope::EventEnvelopeError> 3509 pub fn radroots_event::envelope::EventEnvelope::new_with_limits(radroots_event::envelope::EventEnvelopeParts, radroots_event::envelope::EventEnvelopeLimits) -> core::result::Result<Self, radroots_event::envelope::EventEnvelopeError> 3510 pub fn radroots_event::envelope::EventEnvelope::sig(&self) -> &radroots_event::id::EventSignature 3511 pub fn radroots_event::envelope::EventEnvelope::signature_hex(&self) -> alloc::string::String 3512 pub fn radroots_event::envelope::EventEnvelope::tag_slices(&self) -> &[radroots_event::envelope::EventTag] 3513 pub fn radroots_event::envelope::EventEnvelope::tags(&self) -> &radroots_event::envelope::EventTags 3514 pub fn radroots_event::envelope::EventEnvelope::tags_as_vec(&self) -> alloc::vec::Vec<alloc::vec::Vec<alloc::string::String>> 3515 pub fn radroots_event::envelope::EventEnvelope::to_nip01_wire(&self) -> Nip01EventWire 3516 pub struct radroots_event::EventId(_) 3517 impl radroots_event::id::EventId 3518 pub const fn radroots_event::id::EventId::as_bytes(&self) -> &[u8; 32] 3519 pub const fn radroots_event::id::EventId::from_bytes([u8; 32]) -> Self 3520 pub const fn radroots_event::id::EventId::into_bytes(self) -> [u8; 32] 3521 pub fn radroots_event::id::EventId::into_string(self) -> alloc::string::String 3522 pub fn radroots_event::id::EventId::parse(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_event::id::ParseError> 3523 pub fn radroots_event::id::EventId::to_hex(&self) -> alloc::string::String 3524 impl core::convert::AsRef<[u8]> for radroots_event::id::EventId 3525 pub fn radroots_event::id::EventId::as_ref(&self) -> &[u8] 3526 impl core::convert::From<[u8; 32]> for radroots_event::id::EventId 3527 pub fn radroots_event::id::EventId::from([u8; 32]) -> Self 3528 impl core::convert::From<radroots_event::id::EventId> for [u8; 32] 3529 pub fn [u8; 32]::from(radroots_event::id::EventId) -> Self 3530 impl core::convert::TryFrom<&str> for radroots_event::id::EventId 3531 pub type radroots_event::id::EventId::Error = radroots_event::id::ParseError 3532 pub fn radroots_event::id::EventId::try_from(&str) -> core::result::Result<Self, Self::Error> 3533 impl core::convert::TryFrom<alloc::string::String> for radroots_event::id::EventId 3534 pub type radroots_event::id::EventId::Error = radroots_event::id::ParseError 3535 pub fn radroots_event::id::EventId::try_from(alloc::string::String) -> core::result::Result<Self, Self::Error> 3536 impl core::fmt::Display for radroots_event::id::EventId 3537 pub fn radroots_event::id::EventId::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 3538 impl core::str::traits::FromStr for radroots_event::id::EventId 3539 pub type radroots_event::id::EventId::Err = radroots_event::id::ParseError 3540 pub fn radroots_event::id::EventId::from_str(&str) -> core::result::Result<Self, Self::Err> 3541 impl serde_core::ser::Serialize for radroots_event::id::EventId 3542 pub fn radroots_event::id::EventId::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 3543 impl<'de> serde_core::de::Deserialize<'de> for radroots_event::id::EventId 3544 pub fn radroots_event::id::EventId::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 3545 pub struct radroots_event::EventKind(_) 3546 impl radroots_event::envelope::EventKind 3547 pub const fn radroots_event::envelope::EventKind::as_u32(self) -> u32 3548 pub const fn radroots_event::envelope::EventKind::class(self) -> radroots_event::envelope::EventKindClass 3549 pub const fn radroots_event::envelope::EventKind::new(u32) -> Self 3550 impl core::convert::From<u32> for radroots_event::envelope::EventKind 3551 pub fn radroots_event::envelope::EventKind::from(u32) -> Self 3552 impl serde_core::ser::Serialize for radroots_event::envelope::EventKind 3553 pub fn radroots_event::envelope::EventKind::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 3554 impl<'de> serde_core::de::Deserialize<'de> for radroots_event::envelope::EventKind 3555 pub fn radroots_event::envelope::EventKind::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 3556 pub struct radroots_event::EventTag(_) 3557 impl radroots_event::envelope::EventTag 3558 pub fn radroots_event::envelope::EventTag::as_slice(&self) -> &[alloc::string::String] 3559 pub fn radroots_event::envelope::EventTag::into_vec(self) -> alloc::vec::Vec<alloc::string::String> 3560 pub fn radroots_event::envelope::EventTag::new(usize, alloc::vec::Vec<alloc::string::String>) -> core::result::Result<Self, radroots_event::envelope::EventEnvelopeError> 3561 pub fn radroots_event::envelope::EventTag::new_with_limits(usize, alloc::vec::Vec<alloc::string::String>, radroots_event::envelope::EventEnvelopeLimits) -> core::result::Result<Self, radroots_event::envelope::EventEnvelopeError> 3562 impl serde_core::ser::Serialize for radroots_event::envelope::EventTag 3563 pub fn radroots_event::envelope::EventTag::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 3564 impl<'de> serde_core::de::Deserialize<'de> for radroots_event::envelope::EventTag 3565 pub fn radroots_event::envelope::EventTag::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 3566 pub struct radroots_event::GenericEventDraft 3567 impl radroots_event::generic_draft::GenericEventDraft 3568 pub fn radroots_event::generic_draft::GenericEventDraft::content(&self) -> &str 3569 pub const fn radroots_event::generic_draft::GenericEventDraft::contract(&self) -> &radroots_event::contract::ContractKey 3570 pub fn radroots_event::generic_draft::GenericEventDraft::contract_id(&self) -> &str 3571 pub const fn radroots_event::generic_draft::GenericEventDraft::created_at(&self) -> radroots_event::envelope::EventTimestamp 3572 pub const fn radroots_event::generic_draft::GenericEventDraft::created_at_u64(&self) -> u64 3573 pub const fn radroots_event::generic_draft::GenericEventDraft::expected_event_id(&self) -> &radroots_event::id::EventId 3574 pub fn radroots_event::generic_draft::GenericEventDraft::expected_event_id_hex(&self) -> alloc::string::String 3575 pub const fn radroots_event::generic_draft::GenericEventDraft::expected_pubkey(&self) -> &radroots_identity::key::PublicKey 3576 pub const fn radroots_event::generic_draft::GenericEventDraft::kind(&self) -> radroots_event::envelope::EventKind 3577 pub const fn radroots_event::generic_draft::GenericEventDraft::kind_u32(&self) -> u32 3578 pub fn radroots_event::generic_draft::GenericEventDraft::new(impl core::convert::Into<alloc::string::String>, u32, u64, alloc::vec::Vec<alloc::vec::Vec<alloc::string::String>>, impl core::convert::Into<alloc::string::String>, impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_event::draft::DraftError> 3579 pub fn radroots_event::generic_draft::GenericEventDraft::nip01_preimage(&self) -> core::result::Result<alloc::string::String, radroots_event::draft::DraftError> 3580 pub const fn radroots_event::generic_draft::GenericEventDraft::tags(&self) -> &radroots_event::envelope::EventTags 3581 pub fn radroots_event::generic_draft::GenericEventDraft::tags_as_vec(&self) -> alloc::vec::Vec<alloc::vec::Vec<alloc::string::String>> 3582 pub fn radroots_event::generic_draft::GenericEventDraft::validate_for_authoring(&self) -> core::result::Result<(), radroots_event::draft::DraftError> 3583 impl<'de> serde_core::de::Deserialize<'de> for radroots_event::generic_draft::GenericEventDraft 3584 pub fn radroots_event::generic_draft::GenericEventDraft::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 3585 pub struct radroots_event::SignedEvent 3586 impl radroots_event::draft::SignedEvent 3587 pub fn radroots_event::draft::SignedEvent::content(&self) -> &str 3588 pub fn radroots_event::draft::SignedEvent::created_at(&self) -> u64 3589 pub fn radroots_event::draft::SignedEvent::envelope(&self) -> &radroots_event::envelope::EventEnvelope 3590 pub fn radroots_event::draft::SignedEvent::from_wire_verified_id(Nip01EventWire, impl core::convert::Into<alloc::string::String>) -> core::result::Result<Self, radroots_event::draft::SignedEventError> 3591 pub fn radroots_event::draft::SignedEvent::from_wire_verified_id_with_limits(Nip01EventWire, impl core::convert::Into<alloc::string::String>, crate::wire::EventWireLimits) -> core::result::Result<Self, radroots_event::draft::SignedEventError> 3592 pub fn radroots_event::draft::SignedEvent::id(&self) -> &radroots_event::id::EventId 3593 pub fn radroots_event::draft::SignedEvent::id_hex(&self) -> alloc::string::String 3594 pub fn radroots_event::draft::SignedEvent::id_str(&self) -> &str 3595 pub fn radroots_event::draft::SignedEvent::kind(&self) -> u32 3596 pub fn radroots_event::draft::SignedEvent::new(radroots_event::draft::SignedEventParts) -> core::result::Result<Self, radroots_event::draft::SignedEventError> 3597 pub fn radroots_event::draft::SignedEvent::pubkey(&self) -> &radroots_identity::key::PublicKey 3598 pub fn radroots_event::draft::SignedEvent::raw_json(&self) -> &str 3599 pub fn radroots_event::draft::SignedEvent::sig(&self) -> &radroots_event::id::EventSignature 3600 pub fn radroots_event::draft::SignedEvent::sig_str(&self) -> &str 3601 pub fn radroots_event::draft::SignedEvent::signature_hex(&self) -> alloc::string::String 3602 pub fn radroots_event::draft::SignedEvent::tags_as_vec(&self) -> alloc::vec::Vec<alloc::vec::Vec<alloc::string::String>> 3603 pub fn radroots_event::draft::SignedEvent::wire(&self) -> &Nip01EventWire 3604 impl serde_core::ser::Serialize for radroots_event::draft::SignedEvent 3605 pub fn radroots_event::draft::SignedEvent::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 3606 impl<'de> serde_core::de::Deserialize<'de> for radroots_event::draft::SignedEvent 3607 pub fn radroots_event::draft::SignedEvent::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 3608 pub struct radroots_event::VerifiedEvent(_) 3609 impl radroots_event::VerifiedEvent 3610 pub const fn radroots_event::VerifiedEvent::event(&self) -> &radroots_event::envelope::EventEnvelope 3611 pub fn radroots_event::VerifiedEvent::into_event(self) -> radroots_event::envelope::EventEnvelope 3612 pub fn radroots_event::VerifiedEvent::validate_contract(self) -> core::result::Result<radroots_event::admission::ContractValidatedEvent, radroots_event::Error> 3613 pub fn radroots_event::VerifiedEvent::validate_contract_for_admission(self, &str) -> core::result::Result<radroots_event::admission::ContractValidatedEvent, radroots_event::Error>