lib

Core libraries for Radroots
git clone https://radroots.dev/git/lib.git
Log | Files | Refs | README

radroots_nostr.txt (34554B)


      1 pub mod radroots_nostr
      2 pub mod radroots_nostr::blossom
      3 #[non_exhaustive] pub enum radroots_nostr::blossom::AuthorizationError
      4 pub radroots_nostr::blossom::AuthorizationError::BlossomClaim(radroots_blossom::error::Error)
      5 pub radroots_nostr::blossom::AuthorizationError::EmptyHeaderPayload
      6 pub radroots_nostr::blossom::AuthorizationError::EventSigning
      7 pub radroots_nostr::blossom::AuthorizationError::HeaderPaddingForbidden
      8 pub radroots_nostr::blossom::AuthorizationError::InvalidEventId
      9 pub radroots_nostr::blossom::AuthorizationError::InvalidEventJson
     10 pub radroots_nostr::blossom::AuthorizationError::InvalidEventKind
     11 pub radroots_nostr::blossom::AuthorizationError::InvalidEventKind::actual: u64
     12 pub radroots_nostr::blossom::AuthorizationError::InvalidEventSignature
     13 pub radroots_nostr::blossom::AuthorizationError::InvalidHeaderBase64
     14 pub radroots_nostr::blossom::AuthorizationError::InvalidHeaderScheme
     15 pub radroots_nostr::blossom::AuthorizationError::InvalidHeaderUtf8
     16 pub radroots_nostr::blossom::AuthorizationError::InvalidHeaderWhitespace
     17 pub radroots_nostr::blossom::AuthorizationError::NonCanonicalHeaderBase64
     18 impl radroots_nostr::blossom::AuthorizationError
     19 pub fn radroots_nostr::blossom::AuthorizationError::blossom_claim_error(&self) -> core::option::Option<&radroots_blossom::error::Error>
     20 pub const fn radroots_nostr::blossom::AuthorizationError::code(&self) -> &'static str
     21 impl core::convert::From<radroots_blossom::error::Error> for radroots_nostr::blossom::AuthorizationError
     22 pub fn radroots_nostr::blossom::AuthorizationError::from(radroots_blossom::error::Error) -> Self
     23 impl core::error::Error for radroots_nostr::blossom::AuthorizationError
     24 impl core::fmt::Display for radroots_nostr::blossom::AuthorizationError
     25 pub fn radroots_nostr::blossom::AuthorizationError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
     26 pub struct radroots_nostr::blossom::AuthorizationHeader(_)
     27 impl radroots_nostr::blossom::AuthorizationHeader
     28 pub fn radroots_nostr::blossom::AuthorizationHeader::as_str(&self) -> &str
     29 pub fn radroots_nostr::blossom::AuthorizationHeader::into_string(self) -> alloc::string::String
     30 impl core::convert::AsRef<str> for radroots_nostr::blossom::AuthorizationHeader
     31 pub fn radroots_nostr::blossom::AuthorizationHeader::as_ref(&self) -> &str
     32 impl core::fmt::Debug for radroots_nostr::blossom::AuthorizationHeader
     33 pub fn radroots_nostr::blossom::AuthorizationHeader::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
     34 pub struct radroots_nostr::blossom::SignedAuthorization
     35 impl radroots_nostr::blossom::SignedAuthorization
     36 pub fn radroots_nostr::blossom::SignedAuthorization::author(&self) -> nostr::key::public_key::PublicKey
     37 pub fn radroots_nostr::blossom::SignedAuthorization::created_at(&self) -> radroots_nostr::event::Timestamp
     38 pub fn radroots_nostr::blossom::SignedAuthorization::event_id(&self) -> radroots_nostr::event::EventId
     39 pub fn radroots_nostr::blossom::SignedAuthorization::from_signed_event(&radroots_event::draft::SignedEvent) -> core::result::Result<Self, radroots_nostr::blossom::AuthorizationError>
     40 impl core::fmt::Debug for radroots_nostr::blossom::SignedAuthorization
     41 pub fn radroots_nostr::blossom::SignedAuthorization::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
     42 pub struct radroots_nostr::blossom::VerifiedAuthorization
     43 impl radroots_nostr::blossom::VerifiedAuthorization
     44 pub fn radroots_nostr::blossom::VerifiedAuthorization::author(&self) -> nostr::key::public_key::PublicKey
     45 pub fn radroots_nostr::blossom::VerifiedAuthorization::claim(&self) -> &radroots_blossom::authorization::ValidatedAuthorizationClaim
     46 pub fn radroots_nostr::blossom::VerifiedAuthorization::created_at(&self) -> radroots_nostr::event::Timestamp
     47 pub fn radroots_nostr::blossom::VerifiedAuthorization::event_id(&self) -> radroots_nostr::event::EventId
     48 impl core::fmt::Debug for radroots_nostr::blossom::VerifiedAuthorization
     49 pub fn radroots_nostr::blossom::VerifiedAuthorization::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
     50 pub fn radroots_nostr::blossom::decode_verify_authorization_header(&str, &radroots_blossom::authorization::AuthorizationValidation) -> core::result::Result<radroots_nostr::blossom::VerifiedAuthorization, radroots_nostr::blossom::AuthorizationError>
     51 pub fn radroots_nostr::blossom::encode_authorization_header(&radroots_nostr::blossom::SignedAuthorization) -> radroots_nostr::blossom::AuthorizationHeader
     52 pub fn radroots_nostr::blossom::encode_signed_event_authorization_header(&radroots_event::draft::SignedEvent) -> core::result::Result<radroots_nostr::blossom::AuthorizationHeader, radroots_nostr::blossom::AuthorizationError>
     53 pub fn radroots_nostr::blossom::sign_authorization(&nostr::key::Keys, &radroots_blossom::authorization::AuthoredUploadClaim) -> core::result::Result<radroots_nostr::blossom::SignedAuthorization, radroots_nostr::blossom::AuthorizationError>
     54 pub mod radroots_nostr::event
     55 pub enum radroots_nostr::event::Verification
     56 pub radroots_nostr::event::Verification::IdMismatch
     57 pub radroots_nostr::event::Verification::IdVerified
     58 pub radroots_nostr::event::Verification::MalformedEnvelope
     59 pub radroots_nostr::event::Verification::SignatureInvalid
     60 pub radroots_nostr::event::Verification::Verified
     61 pub struct radroots_nostr::event::ApplicationHandlerSpec
     62 impl radroots_nostr::event::ApplicationHandlerSpec
     63 pub fn radroots_nostr::event::ApplicationHandlerSpec::extra_tags(&self) -> &[alloc::vec::Vec<alloc::string::String>]
     64 pub fn radroots_nostr::event::ApplicationHandlerSpec::identifier(&self) -> core::option::Option<&str>
     65 pub fn radroots_nostr::event::ApplicationHandlerSpec::kinds(&self) -> &[u32]
     66 pub fn radroots_nostr::event::ApplicationHandlerSpec::metadata(&self) -> core::option::Option<&radroots_nostr::event::Metadata>
     67 pub fn radroots_nostr::event::ApplicationHandlerSpec::new(alloc::vec::Vec<u32>) -> Self
     68 pub fn radroots_nostr::event::ApplicationHandlerSpec::nostr_connect_url(&self) -> core::option::Option<&str>
     69 pub fn radroots_nostr::event::ApplicationHandlerSpec::relays(&self) -> &[alloc::string::String]
     70 pub fn radroots_nostr::event::ApplicationHandlerSpec::with_extra_tags(self, alloc::vec::Vec<alloc::vec::Vec<alloc::string::String>>) -> Self
     71 pub fn radroots_nostr::event::ApplicationHandlerSpec::with_identifier(self, impl core::convert::Into<alloc::string::String>) -> Self
     72 pub fn radroots_nostr::event::ApplicationHandlerSpec::with_metadata(self, radroots_nostr::event::Metadata) -> Self
     73 pub fn radroots_nostr::event::ApplicationHandlerSpec::with_nostr_connect_url(self, impl core::convert::Into<alloc::string::String>) -> Self
     74 pub fn radroots_nostr::event::ApplicationHandlerSpec::with_relays(self, alloc::vec::Vec<alloc::string::String>) -> Self
     75 pub struct radroots_nostr::event::CalendarEventBuilder
     76 impl radroots_nostr::event::CalendarEventBuilder
     77 pub fn radroots_nostr::event::CalendarEventBuilder::custom_created_at(self, radroots_nostr::event::Timestamp) -> Self
     78 pub fn radroots_nostr::event::CalendarEventBuilder::into_external_signing_request(self, nostr::key::public_key::PublicKey) -> core::result::Result<radroots_nostr::event::ExternalSigningRequest, radroots_nostr::Error>
     79 pub fn radroots_nostr::event::CalendarEventBuilder::sign_with_keys(self, &nostr::key::Keys) -> core::result::Result<radroots_nostr::event::Event, radroots_nostr::Error>
     80 pub struct radroots_nostr::event::EventAdapter<'a>
     81 impl<'a> radroots_nostr::event::EventAdapter<'a>
     82 pub fn radroots_nostr::event::EventAdapter<'a>::new(&'a radroots_nostr::event::Event) -> Self
     83 impl radroots_event_codec::job::traits::JobEventLike for radroots_nostr::event::EventAdapter<'_>
     84 pub fn radroots_nostr::event::EventAdapter<'_>::raw_author(&self) -> alloc::string::String
     85 pub fn radroots_nostr::event::EventAdapter<'_>::raw_content(&self) -> alloc::string::String
     86 pub fn radroots_nostr::event::EventAdapter<'_>::raw_id(&self) -> alloc::string::String
     87 pub fn radroots_nostr::event::EventAdapter<'_>::raw_kind(&self) -> u32
     88 pub fn radroots_nostr::event::EventAdapter<'_>::raw_published_at(&self) -> u64
     89 pub fn radroots_nostr::event::EventAdapter<'_>::raw_sig(&self) -> alloc::string::String
     90 pub fn radroots_nostr::event::EventAdapter<'_>::raw_tags(&self) -> alloc::vec::Vec<alloc::vec::Vec<alloc::string::String>>
     91 impl<'a> radroots_event_codec::job::traits::JobEventBorrow<'a> for radroots_nostr::event::EventAdapter<'a>
     92 pub fn radroots_nostr::event::EventAdapter<'a>::raw_author(&'a self) -> alloc::string::String
     93 pub fn radroots_nostr::event::EventAdapter<'a>::raw_content(&'a self) -> &'a str
     94 pub fn radroots_nostr::event::EventAdapter<'a>::raw_id(&'a self) -> alloc::string::String
     95 pub fn radroots_nostr::event::EventAdapter<'a>::raw_kind(&'a self) -> u32
     96 pub struct radroots_nostr::event::ExternalSigningRequest
     97 impl radroots_nostr::event::ExternalSigningRequest
     98 pub const fn radroots_nostr::event::ExternalSigningRequest::authored_plan(&self) -> core::option::Option<&radroots_event_codec::authoring::AuthoredEventPlan>
     99 pub fn radroots_nostr::event::ExternalSigningRequest::complete(self, radroots_nostr::event::Event) -> core::result::Result<radroots_nostr::event::Event, radroots_nostr::Error>
    100 pub fn radroots_nostr::event::ExternalSigningRequest::expected_event_id(&self) -> radroots_nostr::event::EventId
    101 pub fn radroots_nostr::event::ExternalSigningRequest::expected_public_key(&self) -> nostr::key::public_key::PublicKey
    102 pub fn radroots_nostr::event::ExternalSigningRequest::from_authored_plan(radroots_event_codec::authoring::AuthoredEventPlan) -> core::result::Result<Self, radroots_nostr::Error>
    103 impl serde_core::ser::Serialize for radroots_nostr::event::ExternalSigningRequest
    104 pub fn radroots_nostr::event::ExternalSigningRequest::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
    105 pub struct radroots_nostr::event::FoodAvailabilityBuilder
    106 impl radroots_nostr::event::FoodAvailabilityBuilder
    107 pub fn radroots_nostr::event::FoodAvailabilityBuilder::into_external_signing_request(self, nostr::key::public_key::PublicKey) -> core::result::Result<radroots_nostr::event::ExternalSigningRequest, radroots_nostr::Error>
    108 pub fn radroots_nostr::event::FoodAvailabilityBuilder::sign_with_keys(self, &nostr::key::Keys) -> core::result::Result<radroots_nostr::event::Event, radroots_nostr::Error>
    109 pub struct radroots_nostr::event::GenericBuilder
    110 impl radroots_nostr::event::GenericBuilder
    111 pub fn radroots_nostr::event::GenericBuilder::allow_self_tagging(self) -> Self
    112 pub fn radroots_nostr::event::GenericBuilder::custom_created_at(self, radroots_nostr::event::Timestamp) -> Self
    113 pub fn radroots_nostr::event::GenericBuilder::dedup_tags(self) -> Self
    114 pub fn radroots_nostr::event::GenericBuilder::into_external_signing_request(self, nostr::key::public_key::PublicKey) -> core::result::Result<radroots_nostr::event::ExternalSigningRequest, radroots_nostr::Error>
    115 pub fn radroots_nostr::event::GenericBuilder::new(radroots_nostr::event::Kind, impl core::convert::Into<alloc::string::String>) -> Self
    116 pub fn radroots_nostr::event::GenericBuilder::pow(self, u8) -> Self
    117 pub fn radroots_nostr::event::GenericBuilder::sign_with_keys(self, &nostr::key::Keys) -> core::result::Result<radroots_nostr::event::Event, radroots_nostr::Error>
    118 pub fn radroots_nostr::event::GenericBuilder::tag(self, radroots_nostr::tag::Tag) -> Self
    119 pub fn radroots_nostr::event::GenericBuilder::tags<I>(self, I) -> Self where I: core::iter::traits::collect::IntoIterator<Item = radroots_nostr::tag::Tag>
    120 pub fn radroots_nostr::event::GenericBuilder::text_note(impl core::convert::Into<alloc::string::String>) -> Self
    121 pub struct radroots_nostr::event::Nip09DeletionRequestBuilder
    122 impl radroots_nostr::event::Nip09DeletionRequestBuilder
    123 pub fn radroots_nostr::event::Nip09DeletionRequestBuilder::custom_created_at(self, radroots_nostr::event::Timestamp) -> Self
    124 pub fn radroots_nostr::event::Nip09DeletionRequestBuilder::into_external_signing_request(self, nostr::key::public_key::PublicKey) -> core::result::Result<radroots_nostr::event::ExternalSigningRequest, radroots_nostr::Error>
    125 pub fn radroots_nostr::event::Nip09DeletionRequestBuilder::sign_with_keys(self, &nostr::key::Keys) -> core::result::Result<radroots_nostr::event::Event, radroots_nostr::Error>
    126 pub struct radroots_nostr::event::Nip10ReplyBuilder
    127 impl radroots_nostr::event::Nip10ReplyBuilder
    128 pub fn radroots_nostr::event::Nip10ReplyBuilder::custom_created_at(self, radroots_nostr::event::Timestamp) -> Self
    129 pub fn radroots_nostr::event::Nip10ReplyBuilder::into_external_signing_request(self, nostr::key::public_key::PublicKey) -> core::result::Result<radroots_nostr::event::ExternalSigningRequest, radroots_nostr::Error>
    130 pub fn radroots_nostr::event::Nip10ReplyBuilder::sign_with_keys(self, &nostr::key::Keys) -> core::result::Result<radroots_nostr::event::Event, radroots_nostr::Error>
    131 pub struct radroots_nostr::event::Nip22CommentBuilder
    132 impl radroots_nostr::event::Nip22CommentBuilder
    133 pub fn radroots_nostr::event::Nip22CommentBuilder::custom_created_at(self, radroots_nostr::event::Timestamp) -> Self
    134 pub fn radroots_nostr::event::Nip22CommentBuilder::into_external_signing_request(self, nostr::key::public_key::PublicKey) -> core::result::Result<radroots_nostr::event::ExternalSigningRequest, radroots_nostr::Error>
    135 pub fn radroots_nostr::event::Nip22CommentBuilder::sign_with_keys(self, &nostr::key::Keys) -> core::result::Result<radroots_nostr::event::Event, radroots_nostr::Error>
    136 pub struct radroots_nostr::event::PostBuilder
    137 impl radroots_nostr::event::PostBuilder
    138 pub fn radroots_nostr::event::PostBuilder::custom_created_at(self, radroots_nostr::event::Timestamp) -> Self
    139 pub fn radroots_nostr::event::PostBuilder::into_external_signing_request(self, nostr::key::public_key::PublicKey) -> core::result::Result<radroots_nostr::event::ExternalSigningRequest, radroots_nostr::Error>
    140 pub fn radroots_nostr::event::PostBuilder::sign_with_keys(self, &nostr::key::Keys) -> core::result::Result<radroots_nostr::event::Event, radroots_nostr::Error>
    141 pub struct radroots_nostr::event::ProfileBuilder
    142 impl radroots_nostr::event::ProfileBuilder
    143 pub fn radroots_nostr::event::ProfileBuilder::custom_created_at(self, radroots_nostr::event::Timestamp) -> Self
    144 pub fn radroots_nostr::event::ProfileBuilder::into_external_signing_request(self, nostr::key::public_key::PublicKey) -> core::result::Result<radroots_nostr::event::ExternalSigningRequest, radroots_nostr::Error>
    145 pub fn radroots_nostr::event::ProfileBuilder::sign_with_keys(self, &nostr::key::Keys) -> core::result::Result<radroots_nostr::event::Event, radroots_nostr::Error>
    146 pub struct radroots_nostr::event::SignatureVerifier
    147 impl radroots_event::verification::SignatureVerifier for radroots_nostr::event::SignatureVerifier
    148 pub fn radroots_nostr::event::SignatureVerifier::verify_signature(&self, &radroots_event::envelope::EventEnvelope) -> core::result::Result<(), radroots_event::verification::Error>
    149 pub fn radroots_nostr::event::build_application_handler(&radroots_nostr::event::ApplicationHandlerSpec) -> core::result::Result<radroots_nostr::event::GenericBuilder, radroots_nostr::Error>
    150 pub fn radroots_nostr::event::build_ask(&radroots_event::post::AuthoredAsk) -> core::result::Result<radroots_nostr::event::PostBuilder, radroots_nostr::Error>
    151 pub fn radroots_nostr::event::build_calendar_date(&radroots_event::calendar::AuthoredCalendarDateEvent) -> core::result::Result<radroots_nostr::event::CalendarEventBuilder, radroots_nostr::Error>
    152 pub fn radroots_nostr::event::build_calendar_time(&radroots_event::calendar::AuthoredCalendarTimeEvent) -> core::result::Result<radroots_nostr::event::CalendarEventBuilder, radroots_nostr::Error>
    153 pub fn radroots_nostr::event::build_food_availability(&radroots_event::food::availability::FoodAvailabilityDetails, radroots_nostr::event::Timestamp) -> core::result::Result<radroots_nostr::event::FoodAvailabilityBuilder, radroots_nostr::Error>
    154 pub fn radroots_nostr::event::build_job_feedback(&radroots_nostr::event::Event, &str, core::option::Option<alloc::string::String>, core::option::Option<alloc::vec::Vec<radroots_nostr::tag::Tag>>) -> core::result::Result<radroots_nostr::event::GenericBuilder, radroots_nostr::Error>
    155 pub fn radroots_nostr::event::build_job_result(&radroots_nostr::event::Event, impl core::convert::Into<alloc::string::String>, u64, core::option::Option<alloc::string::String>, core::option::Option<alloc::vec::Vec<radroots_nostr::tag::Tag>>) -> core::result::Result<radroots_nostr::event::GenericBuilder, radroots_nostr::Error>
    156 pub fn radroots_nostr::event::build_nip09_deletion_request(&radroots_event::post::deletion::AuthoredNip09DeletionRequest) -> core::result::Result<radroots_nostr::event::Nip09DeletionRequestBuilder, radroots_nostr::Error>
    157 pub fn radroots_nostr::event::build_nip10_reply(&radroots_event::post::reply::AuthoredNip10Reply) -> core::result::Result<radroots_nostr::event::Nip10ReplyBuilder, radroots_nostr::Error>
    158 pub fn radroots_nostr::event::build_nip22_comment(&radroots_event::post::comment::AuthoredNip22Comment) -> core::result::Result<radroots_nostr::event::Nip22CommentBuilder, radroots_nostr::Error>
    159 pub fn radroots_nostr::event::build_photo_update(&radroots_event::post::AuthoredPhotoUpdate) -> core::result::Result<radroots_nostr::event::PostBuilder, radroots_nostr::Error>
    160 pub fn radroots_nostr::event::build_profile(&radroots_event::profile::AuthoredProfile) -> core::result::Result<radroots_nostr::event::ProfileBuilder, radroots_nostr::Error>
    161 pub fn radroots_nostr::event::build_update(&radroots_event::post::AuthoredUpdate) -> core::result::Result<radroots_nostr::event::PostBuilder, radroots_nostr::Error>
    162 pub fn radroots_nostr::event::coordinate_from_nostr(&radroots_nostr::event::Coordinate) -> core::result::Result<radroots_event::id::Nip01Coordinate, radroots_nostr::Error>
    163 pub fn radroots_nostr::event::coordinate_to_nostr(&radroots_event::id::Nip01Coordinate) -> core::result::Result<radroots_nostr::event::Coordinate, radroots_nostr::Error>
    164 pub fn radroots_nostr::event::created_at_u32_saturating(radroots_nostr::event::Timestamp) -> u32
    165 pub fn radroots_nostr::event::event_created_at_u32_saturating(&radroots_nostr::event::Event) -> u32
    166 pub fn radroots_nostr::event::from_nostr(&radroots_nostr::event::Event) -> core::result::Result<radroots_event::envelope::EventEnvelope, radroots_event::envelope::EventEnvelopeError>
    167 pub fn radroots_nostr::event::metadata_has_fields(&radroots_nostr::event::Metadata) -> bool
    168 pub fn radroots_nostr::event::pointer_from_nostr(&radroots_nostr::event::Event) -> radroots_event::tag::EventPtr
    169 pub fn radroots_nostr::event::post_filter(core::option::Option<u16>, core::option::Option<u64>) -> radroots_nostr::filter::Filter
    170 pub fn radroots_nostr::event::to_job_feedback_index(&radroots_nostr::event::Event) -> core::result::Result<radroots_event_codec::parsed::RadrootsParsedEvent<radroots_event::social::job_feedback::JobFeedback>, radroots_event_codec::job::error::JobParseError>
    171 pub fn radroots_nostr::event::to_job_feedback_metadata(&radroots_nostr::event::Event) -> core::result::Result<radroots_event_codec::parsed::RadrootsParsedData<radroots_event::social::job_feedback::JobFeedback>, radroots_event_codec::job::error::JobParseError>
    172 pub fn radroots_nostr::event::to_job_request_index(&radroots_nostr::event::Event) -> core::result::Result<radroots_event_codec::parsed::RadrootsParsedEvent<radroots_event::social::job_request::JobRequest>, radroots_event_codec::job::error::JobParseError>
    173 pub fn radroots_nostr::event::to_job_request_metadata(&radroots_nostr::event::Event) -> core::result::Result<radroots_event_codec::parsed::RadrootsParsedData<radroots_event::social::job_request::JobRequest>, radroots_event_codec::job::error::JobParseError>
    174 pub fn radroots_nostr::event::to_job_result_index(&radroots_nostr::event::Event) -> core::result::Result<radroots_event_codec::parsed::RadrootsParsedEvent<radroots_event::social::job_result::JobResult>, radroots_event_codec::job::error::JobParseError>
    175 pub fn radroots_nostr::event::to_job_result_metadata(&radroots_nostr::event::Event) -> core::result::Result<radroots_event_codec::parsed::RadrootsParsedData<radroots_event::social::job_result::JobResult>, radroots_event_codec::job::error::JobParseError>
    176 pub fn radroots_nostr::event::to_nostr(&radroots_event::envelope::EventEnvelope) -> core::result::Result<radroots_nostr::event::Event, radroots_nostr::Error>
    177 pub fn radroots_nostr::event::verify(&radroots_event::envelope::EventEnvelope) -> radroots_nostr::event::Verification
    178 pub fn radroots_nostr::event::verify_id(&radroots_event::envelope::EventEnvelope) -> radroots_nostr::event::Verification
    179 pub type radroots_nostr::event::Coordinate = nostr::nips::nip01::Coordinate
    180 pub type radroots_nostr::event::Event = nostr::event::Event
    181 pub type radroots_nostr::event::EventId = nostr::event::id::EventId
    182 pub type radroots_nostr::event::Kind = nostr::event::kind::Kind
    183 pub type radroots_nostr::event::Metadata = nostr::nips::nip01::Metadata
    184 pub type radroots_nostr::event::Timestamp = nostr::types::time::Timestamp
    185 pub mod radroots_nostr::filter
    186 pub fn radroots_nostr::filter::for_kind(u16) -> radroots_nostr::filter::Filter
    187 pub fn radroots_nostr::filter::kind(u16) -> radroots_nostr::event::Kind
    188 pub fn radroots_nostr::filter::since_now(radroots_nostr::filter::Filter) -> radroots_nostr::filter::Filter
    189 pub fn radroots_nostr::filter::with_tag(radroots_nostr::filter::Filter, &str, alloc::vec::Vec<alloc::string::String>) -> core::result::Result<radroots_nostr::filter::Filter, radroots_nostr::Error>
    190 pub type radroots_nostr::filter::Filter = nostr::filter::Filter
    191 pub mod radroots_nostr::key
    192 pub enum radroots_nostr::key::Nip49KeySecurity
    193 pub radroots_nostr::key::Nip49KeySecurity::Medium
    194 pub radroots_nostr::key::Nip49KeySecurity::Unknown
    195 pub radroots_nostr::key::Nip49KeySecurity::Weak
    196 impl core::convert::From<radroots_nostr::key::Nip49KeySecurity> for nostr::nips::nip49::KeySecurity
    197 pub fn nostr::nips::nip49::KeySecurity::from(radroots_nostr::key::Nip49KeySecurity) -> Self
    198 pub struct radroots_nostr::key::Nip49Options
    199 impl radroots_nostr::key::Nip49Options
    200 pub const fn radroots_nostr::key::Nip49Options::key_security(self) -> radroots_nostr::key::Nip49KeySecurity
    201 pub const fn radroots_nostr::key::Nip49Options::log_n(self) -> u8
    202 pub const fn radroots_nostr::key::Nip49Options::new(u8, radroots_nostr::key::Nip49KeySecurity) -> Self
    203 impl core::default::Default for radroots_nostr::key::Nip49Options
    204 pub fn radroots_nostr::key::Nip49Options::default() -> Self
    205 pub struct radroots_nostr::key::SecretKey
    206 impl radroots_nostr::key::SecretKey
    207 pub fn radroots_nostr::key::SecretKey::generate() -> Self
    208 pub fn radroots_nostr::key::SecretKey::parse(&str) -> core::result::Result<Self, radroots_nostr::Error>
    209 pub fn radroots_nostr::key::SecretKey::public_key(&self) -> core::result::Result<radroots_identity::key::PublicKey, radroots_nostr::Error>
    210 impl core::fmt::Debug for radroots_nostr::key::SecretKey
    211 pub fn radroots_nostr::key::SecretKey::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
    212 pub fn radroots_nostr::key::decrypt_secret_key_nip49(&str, &str) -> core::result::Result<radroots_nostr::key::SecretKey, radroots_nostr::Error>
    213 pub fn radroots_nostr::key::encrypt_secret_key_nip49(&radroots_nostr::key::SecretKey, &str) -> core::result::Result<alloc::string::String, radroots_nostr::Error>
    214 pub fn radroots_nostr::key::encrypt_secret_key_nip49_with_options(&radroots_nostr::key::SecretKey, &str, radroots_nostr::key::Nip49Options) -> core::result::Result<alloc::string::String, radroots_nostr::Error>
    215 pub fn radroots_nostr::key::parse_public_key(&str) -> core::result::Result<radroots_identity::key::PublicKey, radroots_nostr::Error>
    216 pub fn radroots_nostr::key::parse_secret_key(&str) -> core::result::Result<radroots_nostr::key::SecretKey, radroots_nostr::Error>
    217 pub fn radroots_nostr::key::public_key_from_nostr(nostr::key::public_key::PublicKey) -> core::result::Result<radroots_identity::key::PublicKey, radroots_nostr::Error>
    218 pub fn radroots_nostr::key::public_key_from_npub(&str) -> core::result::Result<radroots_identity::key::PublicKey, radroots_nostr::Error>
    219 pub fn radroots_nostr::key::public_key_to_nostr(radroots_identity::key::PublicKey) -> core::result::Result<nostr::key::public_key::PublicKey, radroots_nostr::Error>
    220 pub fn radroots_nostr::key::public_key_to_npub(radroots_identity::key::PublicKey) -> core::result::Result<alloc::string::String, radroots_nostr::Error>
    221 pub fn radroots_nostr::key::secret_key_to_nsec(&radroots_nostr::key::SecretKey) -> alloc::string::String
    222 pub mod radroots_nostr::nip17
    223 #[non_exhaustive] pub enum radroots_nostr::nip17::Error
    224 pub radroots_nostr::nip17::Error::GiftWrap
    225 pub radroots_nostr::nip17::Error::InvalidRecipient
    226 pub radroots_nostr::nip17::Error::MessageDecode
    227 pub radroots_nostr::nip17::Error::MessageEncode
    228 pub radroots_nostr::nip17::Error::Signer
    229 pub radroots_nostr::nip17::Error::UnsupportedRumorKind
    230 pub radroots_nostr::nip17::Error::UnsupportedRumorKind::kind: u32
    231 impl radroots_nostr::nip17::Error
    232 pub const fn radroots_nostr::nip17::Error::code(&self) -> &'static str
    233 impl core::convert::From<nostr::event::builder::Error> for radroots_nostr::nip17::Error
    234 pub fn radroots_nostr::nip17::Error::from(nostr::event::builder::Error) -> Self
    235 impl core::convert::From<nostr::key::Error> for radroots_nostr::nip17::Error
    236 pub fn radroots_nostr::nip17::Error::from(nostr::key::Error) -> Self
    237 impl core::convert::From<nostr::nips::nip59::Error> for radroots_nostr::nip17::Error
    238 pub fn radroots_nostr::nip17::Error::from(nostr::nips::nip59::Error) -> Self
    239 impl core::convert::From<nostr::signer::SignerError> for radroots_nostr::nip17::Error
    240 pub fn radroots_nostr::nip17::Error::from(nostr::signer::SignerError) -> Self
    241 impl core::convert::From<radroots_event_codec::error::EventEncodeError> for radroots_nostr::nip17::Error
    242 pub fn radroots_nostr::nip17::Error::from(radroots_event_codec::error::EventEncodeError) -> Self
    243 impl core::convert::From<radroots_event_codec::error::EventParseError> for radroots_nostr::nip17::Error
    244 pub fn radroots_nostr::nip17::Error::from(radroots_event_codec::error::EventParseError) -> Self
    245 impl core::error::Error for radroots_nostr::nip17::Error
    246 impl core::fmt::Display for radroots_nostr::nip17::Error
    247 pub fn radroots_nostr::nip17::Error::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
    248 pub enum radroots_nostr::nip17::Rumor
    249 pub radroots_nostr::nip17::Rumor::Message(radroots_event_codec::parsed::RadrootsParsedData<radroots_event::social::message::Message>)
    250 pub radroots_nostr::nip17::Rumor::MessageFile(alloc::boxed::Box<radroots_event_codec::parsed::RadrootsParsedData<radroots_event::social::message_file::MessageFile>>)
    251 impl core::fmt::Debug for radroots_nostr::nip17::Rumor
    252 pub fn radroots_nostr::nip17::Rumor::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
    253 pub struct radroots_nostr::nip17::WrapOptions
    254 impl radroots_nostr::nip17::WrapOptions
    255 pub fn radroots_nostr::nip17::WrapOptions::gift_wrap_tags(&self) -> &[alloc::vec::Vec<alloc::string::String>]
    256 pub fn radroots_nostr::nip17::WrapOptions::include_sender(self, bool) -> Self
    257 pub const fn radroots_nostr::nip17::WrapOptions::includes_sender(&self) -> bool
    258 pub const fn radroots_nostr::nip17::WrapOptions::rumor_created_at(&self) -> core::option::Option<u64>
    259 pub fn radroots_nostr::nip17::WrapOptions::with_gift_wrap_tags(self, alloc::vec::Vec<alloc::vec::Vec<alloc::string::String>>) -> Self
    260 pub fn radroots_nostr::nip17::WrapOptions::with_rumor_created_at(self, u64) -> Self
    261 impl core::default::Default for radroots_nostr::nip17::WrapOptions
    262 pub fn radroots_nostr::nip17::WrapOptions::default() -> Self
    263 pub async fn radroots_nostr::nip17::unwrap_gift_wrap<T>(&T, &nostr::event::Event) -> core::result::Result<radroots_nostr::nip17::Rumor, radroots_nostr::nip17::Error> where T: nostr::signer::NostrSigner
    264 pub async fn radroots_nostr::nip17::wrap_message<T>(&T, &radroots_event::social::message::Message, radroots_nostr::nip17::WrapOptions) -> core::result::Result<alloc::vec::Vec<nostr::event::Event>, radroots_nostr::nip17::Error> where T: nostr::signer::NostrSigner
    265 pub async fn radroots_nostr::nip17::wrap_message_file<T>(&T, &radroots_event::social::message_file::MessageFile, radroots_nostr::nip17::WrapOptions) -> core::result::Result<alloc::vec::Vec<nostr::event::Event>, radroots_nostr::nip17::Error> where T: nostr::signer::NostrSigner
    266 pub mod radroots_nostr::signing
    267 pub struct radroots_nostr::signing::LocalSigner
    268 impl radroots_nostr::signing::LocalSigner
    269 pub fn radroots_nostr::signing::LocalSigner::generate() -> core::result::Result<Self, radroots_nostr::Error>
    270 pub fn radroots_nostr::signing::LocalSigner::new(radroots_nostr::key::SecretKey) -> core::result::Result<Self, radroots_nostr::Error>
    271 pub const fn radroots_nostr::signing::LocalSigner::public_key(&self) -> radroots_identity::key::PublicKey
    272 impl core::fmt::Debug for radroots_nostr::signing::LocalSigner
    273 pub fn radroots_nostr::signing::LocalSigner::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
    274 impl radroots_signing::signer::Signer for radroots_nostr::signing::LocalSigner
    275 pub fn radroots_nostr::signing::LocalSigner::sign(&self, radroots_signing::request::SignRequest) -> radroots_signing::signer::BoxFuture<'_, core::result::Result<radroots_signing::receipt::SignReceipt, radroots_signing::error::Error>>
    276 pub fn radroots_nostr::signing::LocalSigner::status(&self) -> radroots_signing::signer::BoxFuture<'_, core::result::Result<radroots_signing::status::SignerStatus, radroots_signing::error::Error>>
    277 pub mod radroots_nostr::tag
    278 pub enum radroots_nostr::tag::ResolveError
    279 pub radroots_nostr::tag::ResolveError::DecryptionError(alloc::string::String)
    280 pub radroots_nostr::tag::ResolveError::MissingPTag(alloc::boxed::Box<nostr::event::Event>)
    281 pub radroots_nostr::tag::ResolveError::NotRecipient
    282 pub radroots_nostr::tag::ResolveError::ParseError(serde_json::error::Error)
    283 pub fn radroots_nostr::tag::first_value(&radroots_nostr::tag::Tag, &str) -> core::option::Option<alloc::string::String>
    284 pub fn radroots_nostr::tag::from_parts(alloc::vec::Vec<alloc::string::String>) -> core::result::Result<radroots_nostr::tag::Tag, radroots_nostr::Error>
    285 pub fn radroots_nostr::tag::match_geohash(&radroots_nostr::tag::Tag) -> core::option::Option<alloc::string::String>
    286 pub fn radroots_nostr::tag::match_location(&radroots_nostr::tag::Tag) -> core::option::Option<(&str, &str, &str)>
    287 pub fn radroots_nostr::tag::match_location_coordinate(&radroots_nostr::tag::Tag) -> core::option::Option<(&str, f64)>
    288 pub fn radroots_nostr::tag::match_parts(&radroots_nostr::tag::Tag) -> core::option::Option<(&str, &[alloc::string::String])>
    289 pub fn radroots_nostr::tag::match_summary(&radroots_nostr::tag::Tag) -> core::option::Option<alloc::string::String>
    290 pub fn radroots_nostr::tag::match_title(&radroots_nostr::tag::Tag) -> core::option::Option<alloc::string::String>
    291 pub fn radroots_nostr::tag::relay_urls(&radroots_nostr::tag::Tag) -> core::option::Option<&alloc::vec::Vec<nostr::types::url::RelayUrl>>
    292 pub fn radroots_nostr::tag::resolve(&radroots_nostr::event::Event, &nostr::key::Keys) -> core::result::Result<alloc::vec::Vec<radroots_nostr::tag::Tag>, radroots_nostr::tag::ResolveError>
    293 pub fn radroots_nostr::tag::to_parts(&radroots_nostr::tag::Tag) -> alloc::vec::Vec<alloc::string::String>
    294 pub fn radroots_nostr::tag::value_at(&radroots_nostr::tag::Tag, usize) -> core::option::Option<alloc::string::String>
    295 pub fn radroots_nostr::tag::values_from(&radroots_nostr::tag::Tag, usize) -> core::option::Option<alloc::vec::Vec<alloc::string::String>>
    296 pub type radroots_nostr::tag::Tag = nostr::event::tag::Tag
    297 pub type radroots_nostr::tag::TagKind<'a> = nostr::event::tag::kind::TagKind<'a>
    298 pub type radroots_nostr::tag::TagStandard = nostr::event::tag::standard::TagStandard
    299 pub enum radroots_nostr::Error
    300 pub radroots_nostr::Error::AuthoredPlan(radroots_event_codec::authoring::typed::AuthoredPlanError)
    301 pub radroots_nostr::Error::CoordinateConversion
    302 pub radroots_nostr::Error::DraftError(radroots_event::draft::DraftError)
    303 pub radroots_nostr::Error::EventBuildError(nostr::event::builder::Error)
    304 pub radroots_nostr::Error::EventConversion
    305 pub radroots_nostr::Error::EventConversion::field: &'static str
    306 pub radroots_nostr::Error::EventError(nostr::event::error::Error)
    307 pub radroots_nostr::Error::EventWire(radroots_event::wire::v1::EventWireError)
    308 pub radroots_nostr::Error::ExternalSigningAuthorMismatch
    309 pub radroots_nostr::Error::ExternalSigningAuthorMismatch::actual: nostr::key::public_key::PublicKey
    310 pub radroots_nostr::Error::ExternalSigningAuthorMismatch::expected: nostr::key::public_key::PublicKey
    311 pub radroots_nostr::Error::ExternalSigningEventIdMismatch
    312 pub radroots_nostr::Error::ExternalSigningEventIdMismatch::actual: nostr::event::id::EventId
    313 pub radroots_nostr::Error::ExternalSigningEventIdMismatch::expected: nostr::event::id::EventId
    314 pub radroots_nostr::Error::ExternalSigningEventInvalid(nostr::event::error::Error)
    315 pub radroots_nostr::Error::ExternalSigningPlanMismatch
    316 pub radroots_nostr::Error::ExternalSigningPlanMismatch::field: &'static str
    317 pub radroots_nostr::Error::FilterTagError(alloc::string::String)
    318 pub radroots_nostr::Error::FoodAvailabilityEncode(radroots_event_codec::food_availability::authored::RadrootsFoodAvailabilityEncodeError)
    319 pub radroots_nostr::Error::InvalidEncryptedSecretKey
    320 pub radroots_nostr::Error::InvalidNpub
    321 pub radroots_nostr::Error::InvalidPublicKey
    322 pub radroots_nostr::Error::InvalidSecretKey
    323 pub radroots_nostr::Error::KeyError(nostr::key::Error)
    324 pub radroots_nostr::Error::KindOutOfRange
    325 pub radroots_nostr::Error::KindOutOfRange::kind: u32
    326 pub radroots_nostr::Error::KindOutOfRange::max: u16
    327 pub radroots_nostr::Error::ProfileEncode(radroots_event_codec::profile::authored::RadrootsAuthoredProfileEncodeError)
    328 pub radroots_nostr::Error::SecretKeyDecryption
    329 pub radroots_nostr::Error::SecretKeyEncryption
    330 pub radroots_nostr::Error::SignedEvent(radroots_event::draft::SignedEventError)
    331 pub radroots_nostr::Error::TagConversion
    332 pub radroots_nostr::Error::TypedAuthoringRequired
    333 pub radroots_nostr::Error::TypedAuthoringRequired::kind: u16
    334 impl core::convert::From<nostr::event::builder::Error> for radroots_nostr::Error
    335 pub fn radroots_nostr::Error::from(nostr::event::builder::Error) -> Self
    336 impl core::convert::From<nostr::event::error::Error> for radroots_nostr::Error
    337 pub fn radroots_nostr::Error::from(nostr::event::error::Error) -> Self
    338 impl core::convert::From<nostr::key::Error> for radroots_nostr::Error
    339 pub fn radroots_nostr::Error::from(nostr::key::Error) -> Self