@@ -2526,7 +2526,7 @@ extension SuggestProviderConfig: Equatable, Hashable {}
2526
2526
2527
2527
public enum Suggestion {
2528
2528
2529
- case amp( title: String , url: String , rawUrl: String , icon: Data ? , iconMimetype: String ? , fullKeyword: String , blockId: Int64 , advertiser: String , iabCategory: String , impressionUrl: String , clickUrl: String , rawClickUrl: String , score: Double
2529
+ case amp( title: String , url: String , rawUrl: String , icon: Data ? , iconMimetype: String ? , fullKeyword: String , blockId: Int64 , advertiser: String , iabCategory: String , impressionUrl: String , clickUrl: String , rawClickUrl: String , score: Double , ftsMatchInfo : FtsMatchInfo ?
2530
2530
)
2531
2531
case pocket( title: String , url: String , score: Double , isTopPick: Bool
2532
2532
)
@@ -2557,7 +2557,7 @@ public struct FfiConverterTypeSuggestion: FfiConverterRustBuffer {
2557
2557
let variant : Int32 = try readInt ( & buf)
2558
2558
switch variant {
2559
2559
2560
- case 1 : return . amp( title: try FfiConverterString . read ( from: & buf) , url: try FfiConverterString . read ( from: & buf) , rawUrl: try FfiConverterString . read ( from: & buf) , icon: try FfiConverterOptionData . read ( from: & buf) , iconMimetype: try FfiConverterOptionString . read ( from: & buf) , fullKeyword: try FfiConverterString . read ( from: & buf) , blockId: try FfiConverterInt64 . read ( from: & buf) , advertiser: try FfiConverterString . read ( from: & buf) , iabCategory: try FfiConverterString . read ( from: & buf) , impressionUrl: try FfiConverterString . read ( from: & buf) , clickUrl: try FfiConverterString . read ( from: & buf) , rawClickUrl: try FfiConverterString . read ( from: & buf) , score: try FfiConverterDouble . read ( from: & buf)
2560
+ case 1 : return . amp( title: try FfiConverterString . read ( from: & buf) , url: try FfiConverterString . read ( from: & buf) , rawUrl: try FfiConverterString . read ( from: & buf) , icon: try FfiConverterOptionData . read ( from: & buf) , iconMimetype: try FfiConverterOptionString . read ( from: & buf) , fullKeyword: try FfiConverterString . read ( from: & buf) , blockId: try FfiConverterInt64 . read ( from: & buf) , advertiser: try FfiConverterString . read ( from: & buf) , iabCategory: try FfiConverterString . read ( from: & buf) , impressionUrl: try FfiConverterString . read ( from: & buf) , clickUrl: try FfiConverterString . read ( from: & buf) , rawClickUrl: try FfiConverterString . read ( from: & buf) , score: try FfiConverterDouble . read ( from: & buf) , ftsMatchInfo : try FfiConverterOptionTypeFtsMatchInfo . read ( from : & buf )
2561
2561
)
2562
2562
2563
2563
case 2 : return . pocket( title: try FfiConverterString . read ( from: & buf) , url: try FfiConverterString . read ( from: & buf) , score: try FfiConverterDouble . read ( from: & buf) , isTopPick: try FfiConverterBool . read ( from: & buf)
@@ -2592,7 +2592,7 @@ public struct FfiConverterTypeSuggestion: FfiConverterRustBuffer {
2592
2592
switch value {
2593
2593
2594
2594
2595
- case let . amp( title, url, rawUrl, icon, iconMimetype, fullKeyword, blockId, advertiser, iabCategory, impressionUrl, clickUrl, rawClickUrl, score) :
2595
+ case let . amp( title, url, rawUrl, icon, iconMimetype, fullKeyword, blockId, advertiser, iabCategory, impressionUrl, clickUrl, rawClickUrl, score, ftsMatchInfo ) :
2596
2596
writeInt ( & buf, Int32 ( 1 ) )
2597
2597
FfiConverterString . write ( title, into: & buf)
2598
2598
FfiConverterString . write ( url, into: & buf)
@@ -2607,6 +2607,7 @@ public struct FfiConverterTypeSuggestion: FfiConverterRustBuffer {
2607
2607
FfiConverterString . write ( clickUrl, into: & buf)
2608
2608
FfiConverterString . write ( rawClickUrl, into: & buf)
2609
2609
FfiConverterDouble . write ( score, into: & buf)
2610
+ FfiConverterOptionTypeFtsMatchInfo . write ( ftsMatchInfo, into: & buf)
2610
2611
2611
2612
2612
2613
case let . pocket( title, url, score, isTopPick) :
0 commit comments